Class ListDatabasesResponse (6.51.0)

public final class ListDatabasesResponse extends GeneratedMessageV3 implements ListDatabasesResponseOrBuilder

The response for ListDatabases.

Protobuf type google.spanner.admin.database.v1.ListDatabasesResponse

Static Fields

DATABASES_FIELD_NUMBER

public static final int DATABASES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDatabasesResponse getDefaultInstance()
Returns
TypeDescription
ListDatabasesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDatabasesResponse.Builder newBuilder()
Returns
TypeDescription
ListDatabasesResponse.Builder

newBuilder(ListDatabasesResponse prototype)

public static ListDatabasesResponse.Builder newBuilder(ListDatabasesResponse prototype)
Parameter
NameDescription
prototypeListDatabasesResponse
Returns
TypeDescription
ListDatabasesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDatabasesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDatabasesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDatabasesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDatabasesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDatabasesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDatabasesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDatabasesResponse> parser()
Returns
TypeDescription
Parser<ListDatabasesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatabases(int index)

public Database getDatabases(int index)

Databases that matched the request.

repeated .google.spanner.admin.database.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Database

getDatabasesCount()

public int getDatabasesCount()

Databases that matched the request.

repeated .google.spanner.admin.database.v1.Database databases = 1;

Returns
TypeDescription
int

getDatabasesList()

public List<Database> getDatabasesList()

Databases that matched the request.

repeated .google.spanner.admin.database.v1.Database databases = 1;

Returns
TypeDescription
List<Database>

getDatabasesOrBuilder(int index)

public DatabaseOrBuilder getDatabasesOrBuilder(int index)

Databases that matched the request.

repeated .google.spanner.admin.database.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseOrBuilder

getDatabasesOrBuilderList()

public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()

Databases that matched the request.

repeated .google.spanner.admin.database.v1.Database databases = 1;

Returns
TypeDescription
List<? extends com.google.spanner.admin.database.v1.DatabaseOrBuilder>

getDefaultInstanceForType()

public ListDatabasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatabasesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListDatabasesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDatabasesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDatabasesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDatabasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDatabasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDatabasesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDatabasesResponse.Builder toBuilder()
Returns
TypeDescription
ListDatabasesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException