public static final class ListDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder
The list of databases for a project.
Protobuf type google.firestore.admin.v1.ListDatabasesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDatabases(Iterable<? extends Database> values)
public ListDatabasesResponse.Builder addAllDatabases(Iterable<? extends Database> values)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.firestore.admin.v1.Database>
|
Returns
addDatabases(Database value)
public ListDatabasesResponse.Builder addDatabases(Database value)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
addDatabases(Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
addDatabases(int index, Database value)
public ListDatabasesResponse.Builder addDatabases(int index, Database value)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameters
Returns
addDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameters
Returns
addDatabasesBuilder()
public Database.Builder addDatabasesBuilder()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
addDatabasesBuilder(int index)
public Database.Builder addDatabasesBuilder(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatabasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDatabasesResponse build()
Returns
buildPartial()
public ListDatabasesResponse buildPartial()
Returns
clear()
public ListDatabasesResponse.Builder clear()
Returns
Overrides
clearDatabases()
public ListDatabasesResponse.Builder clearDatabases()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDatabasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatabasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDatabasesResponse.Builder clone()
Returns
Overrides
getDatabases(int index)
public Database getDatabases(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
getDatabasesBuilder(int index)
public Database.Builder getDatabasesBuilder(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
getDatabasesBuilderList()
public List<Database.Builder> getDatabasesBuilderList()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
getDatabasesCount()
public int getDatabasesCount()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
getDatabasesList()
public List<Database> getDatabasesList()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
getDatabasesOrBuilder(int index)
public DatabaseOrBuilder getDatabasesOrBuilder(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
getDatabasesOrBuilderList()
public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns
Type | Description |
List<? extends com.google.firestore.admin.v1.DatabaseOrBuilder> | |
getDefaultInstanceForType()
public ListDatabasesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDatabasesResponse other)
public ListDatabasesResponse.Builder mergeFrom(ListDatabasesResponse other)
Parameter
Returns
public ListDatabasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDatabasesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDatabases(int index)
public ListDatabasesResponse.Builder removeDatabases(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter
Returns
setDatabases(int index, Database value)
public ListDatabasesResponse.Builder setDatabases(int index, Database value)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameters
Returns
setDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatabasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatabasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides