Class CloudDatabaseResponse (6.68.0)

public final class CloudDatabaseResponse extends GeneratedMessageV3 implements CloudDatabaseResponseOrBuilder

CloudDatabaseResponse contains results returned by cloud database related actions.

Protobuf type google.spanner.executor.v1.CloudDatabaseResponse

Static Fields

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

LISTED_DATABASES_FIELD_NUMBER

public static final int LISTED_DATABASES_FIELD_NUMBER
Field Value
Type Description
int

LISTED_DATABASE_OPERATIONS_FIELD_NUMBER

public static final int LISTED_DATABASE_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudDatabaseResponse getDefaultInstance()
Returns
Type Description
CloudDatabaseResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudDatabaseResponse.Builder newBuilder()
Returns
Type Description
CloudDatabaseResponse.Builder

newBuilder(CloudDatabaseResponse prototype)

public static CloudDatabaseResponse.Builder newBuilder(CloudDatabaseResponse prototype)
Parameter
Name Description
prototype CloudDatabaseResponse
Returns
Type Description
CloudDatabaseResponse.Builder

parseDelimitedFrom(InputStream input)

public static CloudDatabaseResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudDatabaseResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudDatabaseResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudDatabaseResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudDatabaseResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudDatabaseResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudDatabaseResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDatabaseResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudDatabaseResponse> parser()
Returns
Type Description
Parser<CloudDatabaseResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatabase()

public Database getDatabase()

Database returned by GetCloudDatabaseAction

.google.spanner.admin.database.v1.Database database = 4;

Returns
Type Description
Database

The database.

getDatabaseOrBuilder()

public DatabaseOrBuilder getDatabaseOrBuilder()

Database returned by GetCloudDatabaseAction

.google.spanner.admin.database.v1.Database database = 4;

Returns
Type Description
DatabaseOrBuilder

getDefaultInstanceForType()

public CloudDatabaseResponse getDefaultInstanceForType()
Returns
Type Description
CloudDatabaseResponse

getListedDatabaseOperations(int index)

public Operation getListedDatabaseOperations(int index)

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
Operation

getListedDatabaseOperationsCount()

public int getListedDatabaseOperationsCount()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
Type Description
int

getListedDatabaseOperationsList()

public List<Operation> getListedDatabaseOperationsList()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
Type Description
List<Operation>

getListedDatabaseOperationsOrBuilder(int index)

public OperationOrBuilder getListedDatabaseOperationsOrBuilder(int index)

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getListedDatabaseOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getListedDatabaseOperationsOrBuilderList()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
Type Description
List<? extends com.google.longrunning.OperationOrBuilder>

getListedDatabases(int index)

public Database getListedDatabases(int index)

List of databases returned by ListCloudDatabasesAction.

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

Parameter
Name Description
index int
Returns
Type Description
Database

getListedDatabasesCount()

public int getListedDatabasesCount()

List of databases returned by ListCloudDatabasesAction.

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

Returns
Type Description
int

getListedDatabasesList()

public List<Database> getListedDatabasesList()

List of databases returned by ListCloudDatabasesAction.

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

Returns
Type Description
List<Database>

getListedDatabasesOrBuilder(int index)

public DatabaseOrBuilder getListedDatabasesOrBuilder(int index)

List of databases returned by ListCloudDatabasesAction.

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

Parameter
Name Description
index int
Returns
Type Description
DatabaseOrBuilder

getListedDatabasesOrBuilderList()

public List<? extends DatabaseOrBuilder> getListedDatabasesOrBuilderList()

List of databases returned by ListCloudDatabasesAction.

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

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

getNextPageToken()

public String getNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<CloudDatabaseResponse> getParserForType()
Returns
Type Description
Parser<CloudDatabaseResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDatabase()

public boolean hasDatabase()

Database returned by GetCloudDatabaseAction

.google.spanner.admin.database.v1.Database database = 4;

Returns
Type Description
boolean

Whether the database field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudDatabaseResponse.Builder newBuilderForType()
Returns
Type Description
CloudDatabaseResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudDatabaseResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudDatabaseResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudDatabaseResponse.Builder toBuilder()
Returns
Type Description
CloudDatabaseResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException