Class CloudDatabaseResponse (6.56.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
TypeDescription
int

LISTED_DATABASES_FIELD_NUMBER

public static final int LISTED_DATABASES_FIELD_NUMBER
Field Value
TypeDescription
int

LISTED_DATABASE_OPERATIONS_FIELD_NUMBER

public static final int LISTED_DATABASE_OPERATIONS_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 CloudDatabaseResponse getDefaultInstance()
Returns
TypeDescription
CloudDatabaseResponse

getDescriptor()

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

newBuilder()

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

newBuilder(CloudDatabaseResponse prototype)

public static CloudDatabaseResponse.Builder newBuilder(CloudDatabaseResponse prototype)
Parameter
NameDescription
prototypeCloudDatabaseResponse
Returns
TypeDescription
CloudDatabaseResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDatabase()

public Database getDatabase()

Database returned by GetCloudDatabaseAction

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

Returns
TypeDescription
Database

The database.

getDatabaseOrBuilder()

public DatabaseOrBuilder getDatabaseOrBuilder()

Database returned by GetCloudDatabaseAction

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

Returns
TypeDescription
DatabaseOrBuilder

getDefaultInstanceForType()

public CloudDatabaseResponse getDefaultInstanceForType()
Returns
TypeDescription
CloudDatabaseResponse

getListedDatabaseOperations(int index)

public Operation getListedDatabaseOperations(int index)

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getListedDatabaseOperationsCount()

public int getListedDatabaseOperationsCount()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
TypeDescription
int

getListedDatabaseOperationsList()

public List<Operation> getListedDatabaseOperationsList()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getListedDatabaseOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getListedDatabaseOperationsOrBuilderList()

List of operations returned by ListCloudDatabaseOperationsAction.

repeated .google.longrunning.Operation listed_database_operations = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Database

getListedDatabasesCount()

public int getListedDatabasesCount()

List of databases returned by ListCloudDatabasesAction.

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

Returns
TypeDescription
int

getListedDatabasesList()

public List<Database> getListedDatabasesList()

List of databases returned by ListCloudDatabasesAction.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DatabaseOrBuilder

getListedDatabasesOrBuilderList()

public List<? extends DatabaseOrBuilder> getListedDatabasesOrBuilderList()

List of databases returned by ListCloudDatabasesAction.

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

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

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDatabase()

public boolean hasDatabase()

Database returned by GetCloudDatabaseAction

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

Returns
TypeDescription
boolean

Whether the database field is set.

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 CloudDatabaseResponse.Builder newBuilderForType()
Returns
TypeDescription
CloudDatabaseResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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