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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListBackupsResponse.Builder>
    • getDefaultInstanceForType

      public ListBackupsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListBackupsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListBackupsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListBackupsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBackupsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBackupsResponse.Builder>
      Throws:
      IOException
    • getBackupsList

      public List<Backup> getBackupsList()
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
      Specified by:
      getBackupsList in interface ListBackupsResponseOrBuilder
    • getBackupsCount

      public int getBackupsCount()
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
      Specified by:
      getBackupsCount in interface ListBackupsResponseOrBuilder
    • getBackups

      public Backup getBackups(int index)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
      Specified by:
      getBackups in interface ListBackupsResponseOrBuilder
    • setBackups

      public ListBackupsResponse.Builder setBackups(int index, Backup value)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • setBackups

      public ListBackupsResponse.Builder setBackups(int index, Backup.Builder builderForValue)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addBackups

      public ListBackupsResponse.Builder addBackups(Backup value)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addBackups

      public ListBackupsResponse.Builder addBackups(int index, Backup value)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addBackups

      public ListBackupsResponse.Builder addBackups(Backup.Builder builderForValue)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addBackups

      public ListBackupsResponse.Builder addBackups(int index, Backup.Builder builderForValue)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addAllBackups

      public ListBackupsResponse.Builder addAllBackups(Iterable<? extends Backup> values)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • clearBackups

      public ListBackupsResponse.Builder clearBackups()
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • removeBackups

      public ListBackupsResponse.Builder removeBackups(int index)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • getBackupsBuilder

      public Backup.Builder getBackupsBuilder(int index)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • getBackupsOrBuilder

      public BackupOrBuilder getBackupsOrBuilder(int index)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
      Specified by:
      getBackupsOrBuilder in interface ListBackupsResponseOrBuilder
    • getBackupsOrBuilderList

      public List<? extends BackupOrBuilder> getBackupsOrBuilderList()
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
      Specified by:
      getBackupsOrBuilderList in interface ListBackupsResponseOrBuilder
    • addBackupsBuilder

      public Backup.Builder addBackupsBuilder()
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • addBackupsBuilder

      public Backup.Builder addBackupsBuilder(int index)
       List of all backups for the project.
       
      repeated .google.firestore.admin.v1.Backup backups = 1;
    • getBackupsBuilderList

      public List<Backup.Builder> 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:
      getUnreachableList in interface ListBackupsResponseOrBuilder
      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:
      getUnreachableCount in interface ListBackupsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(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:
      getUnreachable in interface ListBackupsResponseOrBuilder
      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:
      getUnreachableBytes in interface ListBackupsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListBackupsResponse.Builder setUnreachable(int index, String value)
       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

      public ListBackupsResponse.Builder addUnreachable(String value)
       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

      public ListBackupsResponse.Builder addAllUnreachable(Iterable<String> values)
       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

      public ListBackupsResponse.Builder 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

      public ListBackupsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       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.