public final class CloudDatabaseResponse extends GeneratedMessageV3 implements CloudDatabaseResponseOrBuilder
CloudDatabaseResponse contains results returned by cloud database related
actions.
Protobuf type google.spanner.executor.v1.CloudDatabaseResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CloudDatabaseResponse.Builder newBuilder()
newBuilder(CloudDatabaseResponse prototype)
public static CloudDatabaseResponse.Builder newBuilder(CloudDatabaseResponse prototype)
public static CloudDatabaseResponse parseDelimitedFrom(InputStream input)
public static CloudDatabaseResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CloudDatabaseResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudDatabaseResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CloudDatabaseResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudDatabaseResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudDatabaseResponse parseFrom(CodedInputStream input)
public static CloudDatabaseResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudDatabaseResponse parseFrom(InputStream input)
public static CloudDatabaseResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CloudDatabaseResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudDatabaseResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CloudDatabaseResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getDefaultInstanceForType()
public CloudDatabaseResponse getDefaultInstanceForType()
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
|
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;
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
|
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
|
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;
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
|
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CloudDatabaseResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudDatabaseResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CloudDatabaseResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides