Package com.google.spanner.executor.v1
Class ListCloudBackupOperationsAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListCloudBackupOperationsActionOrBuilder,Cloneable
- Enclosing class:
- ListCloudBackupOperationsAction
public static final class ListCloudBackupOperationsAction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
implements ListCloudBackupOperationsActionOrBuilder
Action that lists Cloud Spanner database backup operations.Protobuf type
google.spanner.executor.v1.ListCloudBackupOperationsAction-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A filter expression that filters what operations are returned in the response.Cloud instance ID (not path) to list backup operations from, e.g.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of backups to be returned in the response.If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".Cloud project ID, e.g.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA filter expression that filters what operations are returned in the response.com.google.protobuf.ByteStringA filter expression that filters what operations are returned in the response.Cloud instance ID (not path) to list backup operations from, e.g.com.google.protobuf.ByteStringCloud instance ID (not path) to list backup operations from, e.g.intNumber of backups to be returned in the response.If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".com.google.protobuf.ByteStringIf non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A filter expression that filters what operations are returned in the response.setFilterBytes(com.google.protobuf.ByteString value) A filter expression that filters what operations are returned in the response.setInstanceId(String value) Cloud instance ID (not path) to list backup operations from, e.g.setInstanceIdBytes(com.google.protobuf.ByteString value) Cloud instance ID (not path) to list backup operations from, e.g.setPageSize(int value) Number of backups to be returned in the response.setPageToken(String value) If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".setPageTokenBytes(com.google.protobuf.ByteString value) If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".setProjectId(String value) Cloud project ID, e.g.setProjectIdBytes(com.google.protobuf.ByteString value) Cloud project ID, e.g.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
setField
public ListCloudBackupOperationsAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
clearField
public ListCloudBackupOperationsAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
clearOneof
public ListCloudBackupOperationsAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
setRepeatedField
public ListCloudBackupOperationsAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
addRepeatedField
public ListCloudBackupOperationsAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCloudBackupOperationsAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
mergeFrom
public ListCloudBackupOperationsAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCloudBackupOperationsAction.Builder>- Throws:
IOException
-
getProjectId
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Specified by:
getProjectIdin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public ListCloudBackupOperationsAction.Builder setProjectIdBytes(com.google.protobuf.ByteString value) Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getInstanceId
Cloud instance ID (not path) to list backup operations from, e.g. "test-instance".
string instance_id = 2;- Specified by:
getInstanceIdin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()Cloud instance ID (not path) to list backup operations from, e.g. "test-instance".
string instance_id = 2;- Specified by:
getInstanceIdBytesin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
Cloud instance ID (not path) to list backup operations from, e.g. "test-instance".
string instance_id = 2;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
Cloud instance ID (not path) to list backup operations from, e.g. "test-instance".
string instance_id = 2;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public ListCloudBackupOperationsAction.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) Cloud instance ID (not path) to list backup operations from, e.g. "test-instance".
string instance_id = 2;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getFilter
A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupOperationsRequest for detail.
string filter = 3;- Specified by:
getFilterin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupOperationsRequest for detail.
string filter = 3;- Specified by:
getFilterBytesin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The bytes for filter.
-
setFilter
A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupOperationsRequest for detail.
string filter = 3;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupOperationsRequest for detail.
string filter = 3;- Returns:
- This builder for chaining.
-
setFilterBytes
A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupOperationsRequest for detail.
string filter = 3;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;- Specified by:
getPageSizein interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The pageSize.
-
setPageSize
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;- Returns:
- This builder for chaining.
-
getPageToken
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".
string page_token = 5;- Specified by:
getPageTokenin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".
string page_token = 5;- Specified by:
getPageTokenBytesin interfaceListCloudBackupOperationsActionOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".
string page_token = 5;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".
string page_token = 5;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListCloudBackupOperationsAction.Builder setPageTokenBytes(com.google.protobuf.ByteString value) If non-empty, "page_token" should contain a next_page_token from a previous ListBackupOperationsResponse to the same "parent" and with the same "filter".
string page_token = 5;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCloudBackupOperationsAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-
mergeUnknownFields
public final ListCloudBackupOperationsAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloudBackupOperationsAction.Builder>
-