public static final class ListDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder
The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].Protobuf type
google.spanner.admin.database.v1.ListDatabasesResponse
Modifier and Type | Method and Description |
---|---|
ListDatabasesResponse.Builder |
addAllDatabases(Iterable<? extends Database> values)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
addDatabases(Database.Builder builderForValue)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
addDatabases(Database value)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
addDatabases(int index,
Database.Builder builderForValue)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
addDatabases(int index,
Database value)
Databases that matched the request.
|
Database.Builder |
addDatabasesBuilder()
Databases that matched the request.
|
Database.Builder |
addDatabasesBuilder(int index)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListDatabasesResponse |
build() |
ListDatabasesResponse |
buildPartial() |
ListDatabasesResponse.Builder |
clear() |
ListDatabasesResponse.Builder |
clearDatabases()
Databases that matched the request.
|
ListDatabasesResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListDatabasesResponse.Builder |
clearNextPageToken()
`next_page_token` can be sent in a subsequent
[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
of the matching databases.
|
ListDatabasesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListDatabasesResponse.Builder |
clone() |
Database |
getDatabases(int index)
Databases that matched the request.
|
Database.Builder |
getDatabasesBuilder(int index)
Databases that matched the request.
|
List<Database.Builder> |
getDatabasesBuilderList()
Databases that matched the request.
|
int |
getDatabasesCount()
Databases that matched the request.
|
List<Database> |
getDatabasesList()
Databases that matched the request.
|
DatabaseOrBuilder |
getDatabasesOrBuilder(int index)
Databases that matched the request.
|
List<? extends DatabaseOrBuilder> |
getDatabasesOrBuilderList()
Databases that matched the request.
|
ListDatabasesResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
`next_page_token` can be sent in a subsequent
[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
of the matching databases.
|
ByteString |
getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent
[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
of the matching databases.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListDatabasesResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListDatabasesResponse.Builder |
mergeFrom(ListDatabasesResponse other) |
ListDatabasesResponse.Builder |
mergeFrom(Message other) |
ListDatabasesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListDatabasesResponse.Builder |
removeDatabases(int index)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
setDatabases(int index,
Database.Builder builderForValue)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
setDatabases(int index,
Database value)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListDatabasesResponse.Builder |
setNextPageToken(String value)
`next_page_token` can be sent in a subsequent
[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
of the matching databases.
|
ListDatabasesResponse.Builder |
setNextPageTokenBytes(ByteString value)
`next_page_token` can be sent in a subsequent
[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
of the matching databases.
|
ListDatabasesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListDatabasesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListDatabasesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListDatabasesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListDatabasesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder mergeFrom(ListDatabasesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public ListDatabasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListDatabasesResponse.Builder>
IOException
public List<Database> getDatabasesList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
getDatabasesList
in interface ListDatabasesResponseOrBuilder
public int getDatabasesCount()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
getDatabasesCount
in interface ListDatabasesResponseOrBuilder
public Database getDatabases(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
getDatabases
in interface ListDatabasesResponseOrBuilder
public ListDatabasesResponse.Builder setDatabases(int index, Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder addDatabases(Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder addDatabases(int index, Database value)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder addAllDatabases(Iterable<? extends Database> values)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder clearDatabases()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public ListDatabasesResponse.Builder removeDatabases(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public Database.Builder getDatabasesBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public DatabaseOrBuilder getDatabasesOrBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
getDatabasesOrBuilder
in interface ListDatabasesResponseOrBuilder
public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
getDatabasesOrBuilderList
in interface ListDatabasesResponseOrBuilder
public Database.Builder addDatabasesBuilder()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public Database.Builder addDatabasesBuilder(int index)
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public List<Database.Builder> getDatabasesBuilderList()
Databases that matched the request.
repeated .google.spanner.admin.database.v1.Database databases = 1;
public String getNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more of the matching databases.
string next_page_token = 2;
getNextPageToken
in interface ListDatabasesResponseOrBuilder
public ByteString getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more of the matching databases.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListDatabasesResponseOrBuilder
public ListDatabasesResponse.Builder setNextPageToken(String value)
`next_page_token` can be sent in a subsequent [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more of the matching databases.
string next_page_token = 2;
value
- The nextPageToken to set.public ListDatabasesResponse.Builder clearNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more of the matching databases.
string next_page_token = 2;
public ListDatabasesResponse.Builder setNextPageTokenBytes(ByteString value)
`next_page_token` can be sent in a subsequent [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more of the matching databases.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListDatabasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
public final ListDatabasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListDatabasesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.