Class ListBackupOperationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListBackupOperationsResponseOrBuilder,Cloneable
- Enclosing class:
- ListBackupOperationsResponse
public static final class ListBackupOperationsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
implements ListBackupOperationsResponseOrBuilder
The response for [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].Protobuf type
google.spanner.admin.database.v1.ListBackupOperationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends com.google.longrunning.Operation> values) The list of matching backup [long-running operations][google.longrunning.Operation].addOperations(int index, com.google.longrunning.Operation value) The list of matching backup [long-running operations][google.longrunning.Operation].addOperations(int index, com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation].addOperations(com.google.longrunning.Operation value) The list of matching backup [long-running operations][google.longrunning.Operation].addOperations(com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuilderThe list of matching backup [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuilderaddOperationsBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation].addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) `next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of matching backup [long-running operations][google.longrunning.Operation].clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.com.google.protobuf.ByteString`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.com.google.longrunning.OperationgetOperations(int index) The list of matching backup [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuildergetOperationsBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation].List<com.google.longrunning.Operation.Builder>The list of matching backup [long-running operations][google.longrunning.Operation].intThe list of matching backup [long-running operations][google.longrunning.Operation].List<com.google.longrunning.Operation>The list of matching backup [long-running operations][google.longrunning.Operation].com.google.longrunning.OperationOrBuildergetOperationsOrBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation].List<? extends com.google.longrunning.OperationOrBuilder>The list of matching backup [long-running operations][google.longrunning.Operation].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) removeOperations(int index) The list of matching backup [long-running operations][google.longrunning.Operation].setNextPageToken(String value) `next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.setOperations(int index, com.google.longrunning.Operation value) The list of matching backup [long-running operations][google.longrunning.Operation].setOperations(int index, com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation].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<ListBackupOperationsResponse.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<ListBackupOperationsResponse.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<ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>
-
setField
public ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>
-
clearField
public ListBackupOperationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
-
clearOneof
public ListBackupOperationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
-
setRepeatedField
public ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>
-
addRepeatedField
public ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBackupOperationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
-
mergeFrom
public ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>- Throws:
IOException
-
getOperationsList
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsListin interfaceListBackupOperationsResponseOrBuilder
-
getOperationsCount
public int getOperationsCount()The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsCountin interfaceListBackupOperationsResponseOrBuilder
-
getOperations
public com.google.longrunning.Operation getOperations(int index) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsin interfaceListBackupOperationsResponseOrBuilder
-
setOperations
public ListBackupOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation value) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
setOperations
public ListBackupOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addOperations
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addOperations
public ListBackupOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation value) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addOperations
public ListBackupOperationsResponse.Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addOperations
public ListBackupOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation.Builder builderForValue) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addAllOperations
public ListBackupOperationsResponse.Builder addAllOperations(Iterable<? extends com.google.longrunning.Operation> values) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
clearOperations
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
removeOperations
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilder
public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
getOperationsOrBuilder
public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderin interfaceListBackupOperationsResponseOrBuilder
-
getOperationsOrBuilderList
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderListin interfaceListBackupOperationsResponseOrBuilder
-
addOperationsBuilder
public com.google.longrunning.Operation.Builder addOperationsBuilder()The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
addOperationsBuilder
public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilderList
The list of matching backup [long-running operations][google.longrunning.Operation]. Each operation's name will be prefixed by the backup's name. The operation's [metadata][google.longrunning.Operation.metadata] field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.
repeated .google.longrunning.Operation operations = 1; -
getNextPageToken
`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListBackupOperationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListBackupOperationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
`next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListBackupOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListBackupOperationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
-
mergeUnknownFields
public final ListBackupOperationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder>
-