Package com.google.firestore.admin.v1
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.firestore.admin.v1.ListBackupsResponse.Builder
- All Implemented Interfaces:
ListBackupsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBackupsResponse
public static final class ListBackupsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
implements ListBackupsResponseOrBuilder
The response for [FirestoreAdmin.ListBackups][google.firestore.admin.v1.FirestoreAdmin.ListBackups].Protobuf type
google.firestore.admin.v1.ListBackupsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllBackups(Iterable<? extends Backup> values) List of all backups for the project.addAllUnreachable(Iterable<String> values) List of locations that existing backups were not able to be fetched from.addBackups(int index, Backup value) List of all backups for the project.addBackups(int index, Backup.Builder builderForValue) List of all backups for the project.addBackups(Backup value) List of all backups for the project.addBackups(Backup.Builder builderForValue) List of all backups for the project.List of all backups for the project.addBackupsBuilder(int index) List of all backups for the project.addUnreachable(String value) List of locations that existing backups were not able to be fetched from.addUnreachableBytes(com.google.protobuf.ByteString value) List of locations that existing backups were not able to be fetched from.build()clear()List of all backups for the project.List of locations that existing backups were not able to be fetched from.getBackups(int index) List of all backups for the project.getBackupsBuilder(int index) List of all backups for the project.List of all backups for the project.intList of all backups for the project.List of all backups for the project.getBackupsOrBuilder(int index) List of all backups for the project.List<? extends BackupOrBuilder>List of all backups for the project.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetUnreachable(int index) List of locations that existing backups were not able to be fetched from.com.google.protobuf.ByteStringgetUnreachableBytes(int index) List of locations that existing backups were not able to be fetched from.intList of locations that existing backups were not able to be fetched from.com.google.protobuf.ProtocolStringListList of locations that existing backups were not able to be fetched from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListBackupsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBackups(int index) List of all backups for the project.setBackups(int index, Backup value) List of all backups for the project.setBackups(int index, Backup.Builder builderForValue) List of all backups for the project.setUnreachable(int index, String value) List of locations that existing backups were not able to be fetched from.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
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1;- Specified by:
getBackupsListin interfaceListBackupsResponseOrBuilder
-
getBackupsCount
public int getBackupsCount()List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1;- Specified by:
getBackupsCountin interfaceListBackupsResponseOrBuilder
-
getBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1;- Specified by:
getBackupsin interfaceListBackupsResponseOrBuilder
-
setBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
setBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addAllBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
clearBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
removeBackups
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
getBackupsBuilder
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
getBackupsOrBuilder
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1;- Specified by:
getBackupsOrBuilderin interfaceListBackupsResponseOrBuilder
-
getBackupsOrBuilderList
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1;- Specified by:
getBackupsOrBuilderListin interfaceListBackupsResponseOrBuilder
-
addBackupsBuilder
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
addBackupsBuilder
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
getBackupsBuilderList
List of all backups for the project.
repeated .google.firestore.admin.v1.Backup backups = 1; -
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListBackupsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListBackupsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListBackupsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListBackupsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-