Class ListDatabasesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
com.google.firestore.admin.v1.ListDatabasesResponse.Builder
All Implemented Interfaces:
ListDatabasesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListDatabasesResponse

public static final class ListDatabasesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder
 The list of databases for a project.
 
Protobuf type google.firestore.admin.v1.ListDatabasesResponse
  • 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<ListDatabasesResponse.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<ListDatabasesResponse.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<ListDatabasesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListDatabasesResponse.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<ListDatabasesResponse.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<ListDatabasesResponse.Builder>
    • mergeFrom

      public ListDatabasesResponse.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<ListDatabasesResponse.Builder>
      Throws:
      IOException
    • getDatabasesList

      public List<Database> getDatabasesList()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
      Specified by:
      getDatabasesList in interface ListDatabasesResponseOrBuilder
    • getDatabasesCount

      public int getDatabasesCount()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
      Specified by:
      getDatabasesCount in interface ListDatabasesResponseOrBuilder
    • getDatabases

      public Database getDatabases(int index)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
      Specified by:
      getDatabases in interface ListDatabasesResponseOrBuilder
    • setDatabases

      public ListDatabasesResponse.Builder setDatabases(int index, Database value)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • setDatabases

      public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addDatabases

      public ListDatabasesResponse.Builder addDatabases(Database value)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addDatabases

      public ListDatabasesResponse.Builder addDatabases(int index, Database value)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addDatabases

      public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addDatabases

      public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addAllDatabases

      public ListDatabasesResponse.Builder addAllDatabases(Iterable<? extends Database> values)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • clearDatabases

      public ListDatabasesResponse.Builder clearDatabases()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • removeDatabases

      public ListDatabasesResponse.Builder removeDatabases(int index)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • getDatabasesBuilder

      public Database.Builder getDatabasesBuilder(int index)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • getDatabasesOrBuilder

      public DatabaseOrBuilder getDatabasesOrBuilder(int index)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
      Specified by:
      getDatabasesOrBuilder in interface ListDatabasesResponseOrBuilder
    • getDatabasesOrBuilderList

      public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
      Specified by:
      getDatabasesOrBuilderList in interface ListDatabasesResponseOrBuilder
    • addDatabasesBuilder

      public Database.Builder addDatabasesBuilder()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • addDatabasesBuilder

      public Database.Builder addDatabasesBuilder(int index)
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • getDatabasesBuilderList

      public List<Database.Builder> getDatabasesBuilderList()
       The databases in the project.
       
      repeated .google.firestore.admin.v1.Database databases = 1;
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDatabasesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListDatabasesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListDatabasesResponseOrBuilder
      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)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListDatabasesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDatabasesResponse.Builder setUnreachable(int index, String value)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      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 ListDatabasesResponse.Builder addUnreachable(String value)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDatabasesResponse.Builder addAllUnreachable(Iterable<String> values)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDatabasesResponse.Builder clearUnreachable()
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDatabasesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       In the event that data about individual databases cannot be listed they
       will be recorded here.
      
       An example entry might be: projects/some_project/locations/some_location
       This can happen if the Cloud Region that the Database resides in is
       currently unavailable.  In this case we can't fetch all the details about
       the database. You may be able to get a more detailed error message
       (or possibly fetch the resource) by sending a 'Get' request for the
       resource or a 'List' request for the specific location.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.