public static final class ListDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder
The response for ListDatabases.
Protobuf type google.spanner.admin.database.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)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.spanner.admin.database.v1.Database>
|
Returns
addDatabases(Database value)
public ListDatabasesResponse.Builder addDatabases(Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
addDatabases(Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
addDatabases(int index, Database value)
public ListDatabasesResponse.Builder addDatabases(int index, Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameters
Returns
addDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameters
Returns
addDatabasesBuilder()
public Database.Builder addDatabasesBuilder()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
addDatabasesBuilder(int index)
public Database.Builder addDatabasesBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.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()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDatabasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDatabasesResponse.Builder clearNextPageToken()
next_page_token
can be sent in a subsequent
ListDatabases call to fetch more
of the matching databases.
string next_page_token = 2;
Returns
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)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
getDatabasesBuilder(int index)
public Database.Builder getDatabasesBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
getDatabasesBuilderList()
public List<Database.Builder> getDatabasesBuilderList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
getDatabasesCount()
public int getDatabasesCount()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
getDatabasesList()
public List<Database> getDatabasesList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
getDatabasesOrBuilder(int index)
public DatabaseOrBuilder getDatabasesOrBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
getDatabasesOrBuilderList()
public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Returns
Type | Description |
List<? extends com.google.spanner.admin.database.v1.DatabaseOrBuilder> | |
getDefaultInstanceForType()
public ListDatabasesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
next_page_token
can be sent in a subsequent
ListDatabases call to fetch more
of the matching databases.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
next_page_token
can be sent in a subsequent
ListDatabases call to fetch more
of the matching databases.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListDatabasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDatabasesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListDatabasesResponse other)
public ListDatabasesResponse.Builder mergeFrom(ListDatabasesResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDatabases(int index)
public ListDatabasesResponse.Builder removeDatabases(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameter
Returns
setDatabases(int index, Database value)
public ListDatabasesResponse.Builder setDatabases(int index, Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameters
Returns
setDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatabasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDatabasesResponse.Builder setNextPageToken(String value)
next_page_token
can be sent in a subsequent
ListDatabases call to fetch more
of the matching databases.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDatabasesResponse.Builder setNextPageTokenBytes(ByteString value)
next_page_token
can be sent in a subsequent
ListDatabases call to fetch more
of the matching databases.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
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