Class AdminAction (6.79.0)

public final class AdminAction extends GeneratedMessageV3 implements AdminActionOrBuilder

AdminAction defines all the cloud spanner admin actions, including instance/database admin ops, backup ops and operation actions.

Protobuf type google.spanner.executor.v1.AdminAction

Static Fields

CANCEL_OPERATION_FIELD_NUMBER

public static final int CANCEL_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

CHANGE_QUORUM_CLOUD_DATABASE_FIELD_NUMBER

public static final int CHANGE_QUORUM_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

COPY_CLOUD_BACKUP_FIELD_NUMBER

public static final int COPY_CLOUD_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

CREATE_CLOUD_BACKUP_FIELD_NUMBER

public static final int CREATE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

CREATE_CLOUD_DATABASE_FIELD_NUMBER

public static final int CREATE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

CREATE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int CREATE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

CREATE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int CREATE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DELETE_CLOUD_BACKUP_FIELD_NUMBER

public static final int DELETE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

DELETE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int DELETE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

DELETE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int DELETE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DROP_CLOUD_DATABASE_FIELD_NUMBER

public static final int DROP_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

GET_CLOUD_BACKUP_FIELD_NUMBER

public static final int GET_CLOUD_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

GET_CLOUD_DATABASE_FIELD_NUMBER

public static final int GET_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

GET_CLOUD_INSTANCE_CONFIG_FIELD_NUMBER

public static final int GET_CLOUD_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GET_CLOUD_INSTANCE_FIELD_NUMBER

public static final int GET_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

GET_OPERATION_FIELD_NUMBER

public static final int GET_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

LIST_CLOUD_BACKUPS_FIELD_NUMBER

public static final int LIST_CLOUD_BACKUPS_FIELD_NUMBER
Field Value
Type Description
int

LIST_CLOUD_BACKUP_OPERATIONS_FIELD_NUMBER

public static final int LIST_CLOUD_BACKUP_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

LIST_CLOUD_DATABASES_FIELD_NUMBER

public static final int LIST_CLOUD_DATABASES_FIELD_NUMBER
Field Value
Type Description
int

LIST_CLOUD_DATABASE_OPERATIONS_FIELD_NUMBER

public static final int LIST_CLOUD_DATABASE_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

LIST_CLOUD_INSTANCES_FIELD_NUMBER

public static final int LIST_CLOUD_INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

LIST_INSTANCE_CONFIGS_FIELD_NUMBER

public static final int LIST_INSTANCE_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

RESTORE_CLOUD_DATABASE_FIELD_NUMBER

public static final int RESTORE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CLOUD_BACKUP_FIELD_NUMBER

public static final int UPDATE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CLOUD_DATABASE_DDL_FIELD_NUMBER

public static final int UPDATE_CLOUD_DATABASE_DDL_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CLOUD_DATABASE_FIELD_NUMBER

public static final int UPDATE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int UPDATE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int UPDATE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdminAction getDefaultInstance()
Returns
Type Description
AdminAction

getDescriptor()

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

newBuilder()

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

newBuilder(AdminAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionCase()

public AdminAction.ActionCase getActionCase()
Returns
Type Description
AdminAction.ActionCase

getCancelOperation()

public CancelOperationAction getCancelOperation()

Action that cancels an operation.

.google.spanner.executor.v1.CancelOperationAction cancel_operation = 26;

Returns
Type Description
CancelOperationAction

The cancelOperation.

getCancelOperationOrBuilder()

public CancelOperationActionOrBuilder getCancelOperationOrBuilder()

Action that cancels an operation.

.google.spanner.executor.v1.CancelOperationAction cancel_operation = 26;

Returns
Type Description
CancelOperationActionOrBuilder

getChangeQuorumCloudDatabase()

public ChangeQuorumCloudDatabaseAction getChangeQuorumCloudDatabase()

Action that changes quorum of a Cloud Spanner database.

.google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction change_quorum_cloud_database = 28;

Returns
Type Description
ChangeQuorumCloudDatabaseAction

The changeQuorumCloudDatabase.

getChangeQuorumCloudDatabaseOrBuilder()

public ChangeQuorumCloudDatabaseActionOrBuilder getChangeQuorumCloudDatabaseOrBuilder()

Action that changes quorum of a Cloud Spanner database.

.google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction change_quorum_cloud_database = 28;

Returns
Type Description
ChangeQuorumCloudDatabaseActionOrBuilder

getCopyCloudBackup()

public CopyCloudBackupAction getCopyCloudBackup()

Action that copies a Cloud Spanner database backup.

.google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19;

Returns
Type Description
CopyCloudBackupAction

The copyCloudBackup.

getCopyCloudBackupOrBuilder()

public CopyCloudBackupActionOrBuilder getCopyCloudBackupOrBuilder()

Action that copies a Cloud Spanner database backup.

.google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19;

Returns
Type Description
CopyCloudBackupActionOrBuilder

getCreateCloudBackup()

public CreateCloudBackupAction getCreateCloudBackup()

Action that creates a Cloud Spanner database backup.

.google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18;

Returns
Type Description
CreateCloudBackupAction

The createCloudBackup.

getCreateCloudBackupOrBuilder()

public CreateCloudBackupActionOrBuilder getCreateCloudBackupOrBuilder()

Action that creates a Cloud Spanner database backup.

.google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18;

Returns
Type Description
CreateCloudBackupActionOrBuilder

getCreateCloudDatabase()

public CreateCloudDatabaseAction getCreateCloudDatabase()

Action that creates a Cloud Spanner database.

.google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11;

Returns
Type Description
CreateCloudDatabaseAction

The createCloudDatabase.

getCreateCloudDatabaseOrBuilder()

public CreateCloudDatabaseActionOrBuilder getCreateCloudDatabaseOrBuilder()

Action that creates a Cloud Spanner database.

.google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11;

Returns
Type Description
CreateCloudDatabaseActionOrBuilder

getCreateCloudInstance()

public CreateCloudInstanceAction getCreateCloudInstance()

Action that creates a Cloud Spanner instance.

.google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6;

Returns
Type Description
CreateCloudInstanceAction

The createCloudInstance.

getCreateCloudInstanceOrBuilder()

public CreateCloudInstanceActionOrBuilder getCreateCloudInstanceOrBuilder()

Action that creates a Cloud Spanner instance.

.google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6;

Returns
Type Description
CreateCloudInstanceActionOrBuilder

getCreateUserInstanceConfig()

public CreateUserInstanceConfigAction getCreateUserInstanceConfig()

Action that creates a user instance config.

.google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1;

Returns
Type Description
CreateUserInstanceConfigAction

The createUserInstanceConfig.

getCreateUserInstanceConfigOrBuilder()

public CreateUserInstanceConfigActionOrBuilder getCreateUserInstanceConfigOrBuilder()

Action that creates a user instance config.

.google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1;

Returns
Type Description
CreateUserInstanceConfigActionOrBuilder

getDefaultInstanceForType()

public AdminAction getDefaultInstanceForType()
Returns
Type Description
AdminAction

getDeleteCloudBackup()

public DeleteCloudBackupAction getDeleteCloudBackup()

Action that deletes a Cloud Spanner database backup.

.google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22;

Returns
Type Description
DeleteCloudBackupAction

The deleteCloudBackup.

getDeleteCloudBackupOrBuilder()

public DeleteCloudBackupActionOrBuilder getDeleteCloudBackupOrBuilder()

Action that deletes a Cloud Spanner database backup.

.google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22;

Returns
Type Description
DeleteCloudBackupActionOrBuilder

getDeleteCloudInstance()

public DeleteCloudInstanceAction getDeleteCloudInstance()

Action that deletes a Cloud Spanner instance.

.google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8;

Returns
Type Description
DeleteCloudInstanceAction

The deleteCloudInstance.

getDeleteCloudInstanceOrBuilder()

public DeleteCloudInstanceActionOrBuilder getDeleteCloudInstanceOrBuilder()

Action that deletes a Cloud Spanner instance.

.google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8;

Returns
Type Description
DeleteCloudInstanceActionOrBuilder

getDeleteUserInstanceConfig()

public DeleteUserInstanceConfigAction getDeleteUserInstanceConfig()

Action that deletes a user instance config.

.google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3;

Returns
Type Description
DeleteUserInstanceConfigAction

The deleteUserInstanceConfig.

getDeleteUserInstanceConfigOrBuilder()

public DeleteUserInstanceConfigActionOrBuilder getDeleteUserInstanceConfigOrBuilder()

Action that deletes a user instance config.

.google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3;

Returns
Type Description
DeleteUserInstanceConfigActionOrBuilder

getDropCloudDatabase()

public DropCloudDatabaseAction getDropCloudDatabase()

Action that drops a Cloud Spanner database.

.google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13;

Returns
Type Description
DropCloudDatabaseAction

The dropCloudDatabase.

getDropCloudDatabaseOrBuilder()

public DropCloudDatabaseActionOrBuilder getDropCloudDatabaseOrBuilder()

Action that drops a Cloud Spanner database.

.google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13;

Returns
Type Description
DropCloudDatabaseActionOrBuilder

getGetCloudBackup()

public GetCloudBackupAction getGetCloudBackup()

Action that gets a Cloud Spanner database backup.

.google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20;

Returns
Type Description
GetCloudBackupAction

The getCloudBackup.

getGetCloudBackupOrBuilder()

public GetCloudBackupActionOrBuilder getGetCloudBackupOrBuilder()

Action that gets a Cloud Spanner database backup.

.google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20;

Returns
Type Description
GetCloudBackupActionOrBuilder

getGetCloudDatabase()

public GetCloudDatabaseAction getGetCloudDatabase()

Action that gets a Cloud Spanner database.

.google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17;

Returns
Type Description
GetCloudDatabaseAction

The getCloudDatabase.

getGetCloudDatabaseOrBuilder()

public GetCloudDatabaseActionOrBuilder getGetCloudDatabaseOrBuilder()

Action that gets a Cloud Spanner database.

.google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17;

Returns
Type Description
GetCloudDatabaseActionOrBuilder

getGetCloudInstance()

public GetCloudInstanceAction getGetCloudInstance()

Action that retrieves a Cloud Spanner instance.

.google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10;

Returns
Type Description
GetCloudInstanceAction

The getCloudInstance.

getGetCloudInstanceConfig()

public GetCloudInstanceConfigAction getGetCloudInstanceConfig()

Action that gets a user instance config.

.google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4;

Returns
Type Description
GetCloudInstanceConfigAction

The getCloudInstanceConfig.

getGetCloudInstanceConfigOrBuilder()

public GetCloudInstanceConfigActionOrBuilder getGetCloudInstanceConfigOrBuilder()

Action that gets a user instance config.

.google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4;

Returns
Type Description
GetCloudInstanceConfigActionOrBuilder

getGetCloudInstanceOrBuilder()

public GetCloudInstanceActionOrBuilder getGetCloudInstanceOrBuilder()

Action that retrieves a Cloud Spanner instance.

.google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10;

Returns
Type Description
GetCloudInstanceActionOrBuilder

getGetOperation()

public GetOperationAction getGetOperation()

Action that gets an operation.

.google.spanner.executor.v1.GetOperationAction get_operation = 25;

Returns
Type Description
GetOperationAction

The getOperation.

getGetOperationOrBuilder()

public GetOperationActionOrBuilder getGetOperationOrBuilder()

Action that gets an operation.

.google.spanner.executor.v1.GetOperationAction get_operation = 25;

Returns
Type Description
GetOperationActionOrBuilder

getListCloudBackupOperations()

public ListCloudBackupOperationsAction getListCloudBackupOperations()

Action that lists Cloud Spanner database backup operations.

.google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24;

Returns
Type Description
ListCloudBackupOperationsAction

The listCloudBackupOperations.

getListCloudBackupOperationsOrBuilder()

public ListCloudBackupOperationsActionOrBuilder getListCloudBackupOperationsOrBuilder()

Action that lists Cloud Spanner database backup operations.

.google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24;

Returns
Type Description
ListCloudBackupOperationsActionOrBuilder

getListCloudBackups()

public ListCloudBackupsAction getListCloudBackups()

Action that lists Cloud Spanner database backups.

.google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23;

Returns
Type Description
ListCloudBackupsAction

The listCloudBackups.

getListCloudBackupsOrBuilder()

public ListCloudBackupsActionOrBuilder getListCloudBackupsOrBuilder()

Action that lists Cloud Spanner database backups.

.google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23;

Returns
Type Description
ListCloudBackupsActionOrBuilder

getListCloudDatabaseOperations()

public ListCloudDatabaseOperationsAction getListCloudDatabaseOperations()

Action that lists Cloud Spanner database operations.

.google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15;

Returns
Type Description
ListCloudDatabaseOperationsAction

The listCloudDatabaseOperations.

getListCloudDatabaseOperationsOrBuilder()

public ListCloudDatabaseOperationsActionOrBuilder getListCloudDatabaseOperationsOrBuilder()

Action that lists Cloud Spanner database operations.

.google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15;

Returns
Type Description
ListCloudDatabaseOperationsActionOrBuilder

getListCloudDatabases()

public ListCloudDatabasesAction getListCloudDatabases()

Action that lists Cloud Spanner databases.

.google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14;

Returns
Type Description
ListCloudDatabasesAction

The listCloudDatabases.

getListCloudDatabasesOrBuilder()

public ListCloudDatabasesActionOrBuilder getListCloudDatabasesOrBuilder()

Action that lists Cloud Spanner databases.

.google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14;

Returns
Type Description
ListCloudDatabasesActionOrBuilder

getListCloudInstances()

public ListCloudInstancesAction getListCloudInstances()

Action that lists Cloud Spanner instances.

.google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9;

Returns
Type Description
ListCloudInstancesAction

The listCloudInstances.

getListCloudInstancesOrBuilder()

public ListCloudInstancesActionOrBuilder getListCloudInstancesOrBuilder()

Action that lists Cloud Spanner instances.

.google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9;

Returns
Type Description
ListCloudInstancesActionOrBuilder

getListInstanceConfigs()

public ListCloudInstanceConfigsAction getListInstanceConfigs()

Action that lists user instance configs.

.google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5;

Returns
Type Description
ListCloudInstanceConfigsAction

The listInstanceConfigs.

getListInstanceConfigsOrBuilder()

public ListCloudInstanceConfigsActionOrBuilder getListInstanceConfigsOrBuilder()

Action that lists user instance configs.

.google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5;

Returns
Type Description
ListCloudInstanceConfigsActionOrBuilder

getParserForType()

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

getRestoreCloudDatabase()

public RestoreCloudDatabaseAction getRestoreCloudDatabase()

Action that restores a Cloud Spanner database from a backup.

.google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16;

Returns
Type Description
RestoreCloudDatabaseAction

The restoreCloudDatabase.

getRestoreCloudDatabaseOrBuilder()

public RestoreCloudDatabaseActionOrBuilder getRestoreCloudDatabaseOrBuilder()

Action that restores a Cloud Spanner database from a backup.

.google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16;

Returns
Type Description
RestoreCloudDatabaseActionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateCloudBackup()

public UpdateCloudBackupAction getUpdateCloudBackup()

Action that updates a Cloud Spanner database backup.

.google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21;

Returns
Type Description
UpdateCloudBackupAction

The updateCloudBackup.

getUpdateCloudBackupOrBuilder()

public UpdateCloudBackupActionOrBuilder getUpdateCloudBackupOrBuilder()

Action that updates a Cloud Spanner database backup.

.google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21;

Returns
Type Description
UpdateCloudBackupActionOrBuilder

getUpdateCloudDatabase()

public UpdateCloudDatabaseAction getUpdateCloudDatabase()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27;

Returns
Type Description
UpdateCloudDatabaseAction

The updateCloudDatabase.

getUpdateCloudDatabaseDdl()

public UpdateCloudDatabaseDdlAction getUpdateCloudDatabaseDdl()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12;

Returns
Type Description
UpdateCloudDatabaseDdlAction

The updateCloudDatabaseDdl.

getUpdateCloudDatabaseDdlOrBuilder()

public UpdateCloudDatabaseDdlActionOrBuilder getUpdateCloudDatabaseDdlOrBuilder()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12;

Returns
Type Description
UpdateCloudDatabaseDdlActionOrBuilder

getUpdateCloudDatabaseOrBuilder()

public UpdateCloudDatabaseActionOrBuilder getUpdateCloudDatabaseOrBuilder()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27;

Returns
Type Description
UpdateCloudDatabaseActionOrBuilder

getUpdateCloudInstance()

public UpdateCloudInstanceAction getUpdateCloudInstance()

Action that updates a Cloud Spanner instance.

.google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7;

Returns
Type Description
UpdateCloudInstanceAction

The updateCloudInstance.

getUpdateCloudInstanceOrBuilder()

public UpdateCloudInstanceActionOrBuilder getUpdateCloudInstanceOrBuilder()

Action that updates a Cloud Spanner instance.

.google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7;

Returns
Type Description
UpdateCloudInstanceActionOrBuilder

getUpdateUserInstanceConfig()

public UpdateUserInstanceConfigAction getUpdateUserInstanceConfig()

Action that updates a user instance config.

.google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2;

Returns
Type Description
UpdateUserInstanceConfigAction

The updateUserInstanceConfig.

getUpdateUserInstanceConfigOrBuilder()

public UpdateUserInstanceConfigActionOrBuilder getUpdateUserInstanceConfigOrBuilder()

Action that updates a user instance config.

.google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2;

Returns
Type Description
UpdateUserInstanceConfigActionOrBuilder

hasCancelOperation()

public boolean hasCancelOperation()

Action that cancels an operation.

.google.spanner.executor.v1.CancelOperationAction cancel_operation = 26;

Returns
Type Description
boolean

Whether the cancelOperation field is set.

hasChangeQuorumCloudDatabase()

public boolean hasChangeQuorumCloudDatabase()

Action that changes quorum of a Cloud Spanner database.

.google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction change_quorum_cloud_database = 28;

Returns
Type Description
boolean

Whether the changeQuorumCloudDatabase field is set.

hasCopyCloudBackup()

public boolean hasCopyCloudBackup()

Action that copies a Cloud Spanner database backup.

.google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19;

Returns
Type Description
boolean

Whether the copyCloudBackup field is set.

hasCreateCloudBackup()

public boolean hasCreateCloudBackup()

Action that creates a Cloud Spanner database backup.

.google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18;

Returns
Type Description
boolean

Whether the createCloudBackup field is set.

hasCreateCloudDatabase()

public boolean hasCreateCloudDatabase()

Action that creates a Cloud Spanner database.

.google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11;

Returns
Type Description
boolean

Whether the createCloudDatabase field is set.

hasCreateCloudInstance()

public boolean hasCreateCloudInstance()

Action that creates a Cloud Spanner instance.

.google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6;

Returns
Type Description
boolean

Whether the createCloudInstance field is set.

hasCreateUserInstanceConfig()

public boolean hasCreateUserInstanceConfig()

Action that creates a user instance config.

.google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1;

Returns
Type Description
boolean

Whether the createUserInstanceConfig field is set.

hasDeleteCloudBackup()

public boolean hasDeleteCloudBackup()

Action that deletes a Cloud Spanner database backup.

.google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22;

Returns
Type Description
boolean

Whether the deleteCloudBackup field is set.

hasDeleteCloudInstance()

public boolean hasDeleteCloudInstance()

Action that deletes a Cloud Spanner instance.

.google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8;

Returns
Type Description
boolean

Whether the deleteCloudInstance field is set.

hasDeleteUserInstanceConfig()

public boolean hasDeleteUserInstanceConfig()

Action that deletes a user instance config.

.google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3;

Returns
Type Description
boolean

Whether the deleteUserInstanceConfig field is set.

hasDropCloudDatabase()

public boolean hasDropCloudDatabase()

Action that drops a Cloud Spanner database.

.google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13;

Returns
Type Description
boolean

Whether the dropCloudDatabase field is set.

hasGetCloudBackup()

public boolean hasGetCloudBackup()

Action that gets a Cloud Spanner database backup.

.google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20;

Returns
Type Description
boolean

Whether the getCloudBackup field is set.

hasGetCloudDatabase()

public boolean hasGetCloudDatabase()

Action that gets a Cloud Spanner database.

.google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17;

Returns
Type Description
boolean

Whether the getCloudDatabase field is set.

hasGetCloudInstance()

public boolean hasGetCloudInstance()

Action that retrieves a Cloud Spanner instance.

.google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10;

Returns
Type Description
boolean

Whether the getCloudInstance field is set.

hasGetCloudInstanceConfig()

public boolean hasGetCloudInstanceConfig()

Action that gets a user instance config.

.google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4;

Returns
Type Description
boolean

Whether the getCloudInstanceConfig field is set.

hasGetOperation()

public boolean hasGetOperation()

Action that gets an operation.

.google.spanner.executor.v1.GetOperationAction get_operation = 25;

Returns
Type Description
boolean

Whether the getOperation field is set.

hasListCloudBackupOperations()

public boolean hasListCloudBackupOperations()

Action that lists Cloud Spanner database backup operations.

.google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24;

Returns
Type Description
boolean

Whether the listCloudBackupOperations field is set.

hasListCloudBackups()

public boolean hasListCloudBackups()

Action that lists Cloud Spanner database backups.

.google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23;

Returns
Type Description
boolean

Whether the listCloudBackups field is set.

hasListCloudDatabaseOperations()

public boolean hasListCloudDatabaseOperations()

Action that lists Cloud Spanner database operations.

.google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15;

Returns
Type Description
boolean

Whether the listCloudDatabaseOperations field is set.

hasListCloudDatabases()

public boolean hasListCloudDatabases()

Action that lists Cloud Spanner databases.

.google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14;

Returns
Type Description
boolean

Whether the listCloudDatabases field is set.

hasListCloudInstances()

public boolean hasListCloudInstances()

Action that lists Cloud Spanner instances.

.google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9;

Returns
Type Description
boolean

Whether the listCloudInstances field is set.

hasListInstanceConfigs()

public boolean hasListInstanceConfigs()

Action that lists user instance configs.

.google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5;

Returns
Type Description
boolean

Whether the listInstanceConfigs field is set.

hasRestoreCloudDatabase()

public boolean hasRestoreCloudDatabase()

Action that restores a Cloud Spanner database from a backup.

.google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16;

Returns
Type Description
boolean

Whether the restoreCloudDatabase field is set.

hasUpdateCloudBackup()

public boolean hasUpdateCloudBackup()

Action that updates a Cloud Spanner database backup.

.google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21;

Returns
Type Description
boolean

Whether the updateCloudBackup field is set.

hasUpdateCloudDatabase()

public boolean hasUpdateCloudDatabase()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27;

Returns
Type Description
boolean

Whether the updateCloudDatabase field is set.

hasUpdateCloudDatabaseDdl()

public boolean hasUpdateCloudDatabaseDdl()

Action that updates the schema of a Cloud Spanner database.

.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12;

Returns
Type Description
boolean

Whether the updateCloudDatabaseDdl field is set.

hasUpdateCloudInstance()

public boolean hasUpdateCloudInstance()

Action that updates a Cloud Spanner instance.

.google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7;

Returns
Type Description
boolean

Whether the updateCloudInstance field is set.

hasUpdateUserInstanceConfig()

public boolean hasUpdateUserInstanceConfig()

Action that updates a user instance config.

.google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2;

Returns
Type Description
boolean

Whether the updateUserInstanceConfig 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 AdminAction.Builder newBuilderForType()
Returns
Type Description
AdminAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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