Class ListBackupsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
com.google.spanner.admin.database.v1.ListBackupsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListBackupsResponseOrBuilder,Cloneable
- Enclosing class:
- ListBackupsResponse
public static final class ListBackupsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
implements ListBackupsResponseOrBuilder
The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].Protobuf type
google.spanner.admin.database.v1.ListBackupsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllBackups(Iterable<? extends Backup> values) The list of matching backups.addBackups(int index, Backup value) The list of matching backups.addBackups(int index, Backup.Builder builderForValue) The list of matching backups.addBackups(Backup value) The list of matching backups.addBackups(Backup.Builder builderForValue) The list of matching backups.The list of matching backups.addBackupsBuilder(int index) The list of matching backups.build()clear()The list of matching backups.`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.getBackups(int index) The list of matching backups.getBackupsBuilder(int index) The list of matching backups.The list of matching backups.intThe list of matching backups.The list of matching backups.getBackupsOrBuilder(int index) The list of matching backups.List<? extends BackupOrBuilder>The list of matching backups.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.com.google.protobuf.ByteString`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ListBackupsResponse other) removeBackups(int index) The list of matching backups.setBackups(int index, Backup value) The list of matching backups.setBackups(int index, Backup.Builder builderForValue) The list of matching backups.setNextPageToken(String value) `next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.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.GeneratedMessage.Builder<ListBackupsResponse.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBackupsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.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<ListBackupsResponse.Builder>- Throws:
IOException
-
getBackupsList
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1;- Specified by:
getBackupsListin interfaceListBackupsResponseOrBuilder
-
getBackupsCount
public int getBackupsCount()The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1;- Specified by:
getBackupsCountin interfaceListBackupsResponseOrBuilder
-
getBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1;- Specified by:
getBackupsin interfaceListBackupsResponseOrBuilder
-
setBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
setBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addAllBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
clearBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
removeBackups
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
getBackupsBuilder
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
getBackupsOrBuilder
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1;- Specified by:
getBackupsOrBuilderin interfaceListBackupsResponseOrBuilder
-
getBackupsOrBuilderList
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1;- Specified by:
getBackupsOrBuilderListin interfaceListBackupsResponseOrBuilder
-
addBackupsBuilder
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
addBackupsBuilder
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
getBackupsBuilderList
The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.
repeated .google.spanner.admin.database.v1.Backup backups = 1; -
getNextPageToken
`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListBackupsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListBackupsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.
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 [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
`next_page_token` can be sent in a subsequent [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more of the matching backups.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-