Class AdminAction (6.62.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
TypeDescription
int

COPY_CLOUD_BACKUP_FIELD_NUMBER

public static final int COPY_CLOUD_BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_CLOUD_BACKUP_FIELD_NUMBER

public static final int CREATE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_CLOUD_DATABASE_FIELD_NUMBER

public static final int CREATE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int CREATE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int CREATE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_CLOUD_BACKUP_FIELD_NUMBER

public static final int DELETE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int DELETE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int DELETE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DROP_CLOUD_DATABASE_FIELD_NUMBER

public static final int DROP_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

GET_CLOUD_BACKUP_FIELD_NUMBER

public static final int GET_CLOUD_BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

GET_CLOUD_DATABASE_FIELD_NUMBER

public static final int GET_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

GET_CLOUD_INSTANCE_CONFIG_FIELD_NUMBER

public static final int GET_CLOUD_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

GET_CLOUD_INSTANCE_FIELD_NUMBER

public static final int GET_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

GET_OPERATION_FIELD_NUMBER

public static final int GET_OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_CLOUD_BACKUPS_FIELD_NUMBER

public static final int LIST_CLOUD_BACKUPS_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_CLOUD_BACKUP_OPERATIONS_FIELD_NUMBER

public static final int LIST_CLOUD_BACKUP_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_CLOUD_DATABASES_FIELD_NUMBER

public static final int LIST_CLOUD_DATABASES_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_CLOUD_DATABASE_OPERATIONS_FIELD_NUMBER

public static final int LIST_CLOUD_DATABASE_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_CLOUD_INSTANCES_FIELD_NUMBER

public static final int LIST_CLOUD_INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_INSTANCE_CONFIGS_FIELD_NUMBER

public static final int LIST_INSTANCE_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

RECONFIGURE_CLOUD_DATABASE_FIELD_NUMBER

public static final int RECONFIGURE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

RESTORE_CLOUD_DATABASE_FIELD_NUMBER

public static final int RESTORE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CLOUD_BACKUP_FIELD_NUMBER

public static final int UPDATE_CLOUD_BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CLOUD_DATABASE_DDL_FIELD_NUMBER

public static final int UPDATE_CLOUD_DATABASE_DDL_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CLOUD_DATABASE_FIELD_NUMBER

public static final int UPDATE_CLOUD_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CLOUD_INSTANCE_FIELD_NUMBER

public static final int UPDATE_CLOUD_INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_USER_INSTANCE_CONFIG_FIELD_NUMBER

public static final int UPDATE_USER_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdminAction getDefaultInstance()
Returns
TypeDescription
AdminAction

getDescriptor()

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

newBuilder()

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

newBuilder(AdminAction prototype)

public static AdminAction.Builder newBuilder(AdminAction prototype)
Parameter
NameDescription
prototypeAdminAction
Returns
TypeDescription
AdminAction.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionCase()

public AdminAction.ActionCase getActionCase()
Returns
TypeDescription
AdminAction.ActionCase

getCancelOperation()

public CancelOperationAction getCancelOperation()

Action that cancels an operation.

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

Returns
TypeDescription
CancelOperationAction

The cancelOperation.

getCancelOperationOrBuilder()

public CancelOperationActionOrBuilder getCancelOperationOrBuilder()

Action that cancels an operation.

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

Returns
TypeDescription
CancelOperationActionOrBuilder

getCopyCloudBackup()

public CopyCloudBackupAction getCopyCloudBackup()

Action that copies a Cloud Spanner database backup.

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

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

getCreateCloudBackup()

public CreateCloudBackupAction getCreateCloudBackup()

Action that creates a Cloud Spanner database backup.

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

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

getCreateCloudDatabase()

public CreateCloudDatabaseAction getCreateCloudDatabase()

Action that creates a Cloud Spanner database.

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

Returns
TypeDescription
CreateCloudDatabaseAction

The createCloudDatabase.

getCreateCloudDatabaseOrBuilder()

public CreateCloudDatabaseActionOrBuilder getCreateCloudDatabaseOrBuilder()

Action that creates a Cloud Spanner database.

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

Returns
TypeDescription
CreateCloudDatabaseActionOrBuilder

getCreateCloudInstance()

public CreateCloudInstanceAction getCreateCloudInstance()

Action that creates a Cloud Spanner instance.

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

Returns
TypeDescription
CreateCloudInstanceAction

The createCloudInstance.

getCreateCloudInstanceOrBuilder()

public CreateCloudInstanceActionOrBuilder getCreateCloudInstanceOrBuilder()

Action that creates a Cloud Spanner instance.

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

Returns
TypeDescription
CreateCloudInstanceActionOrBuilder

getCreateUserInstanceConfig()

public CreateUserInstanceConfigAction getCreateUserInstanceConfig()

Action that creates a user instance config.

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

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

getDefaultInstanceForType()

public AdminAction getDefaultInstanceForType()
Returns
TypeDescription
AdminAction

getDeleteCloudBackup()

public DeleteCloudBackupAction getDeleteCloudBackup()

Action that deletes a Cloud Spanner database backup.

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

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

getDeleteCloudInstance()

public DeleteCloudInstanceAction getDeleteCloudInstance()

Action that deletes a Cloud Spanner instance.

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

Returns
TypeDescription
DeleteCloudInstanceAction

The deleteCloudInstance.

getDeleteCloudInstanceOrBuilder()

public DeleteCloudInstanceActionOrBuilder getDeleteCloudInstanceOrBuilder()

Action that deletes a Cloud Spanner instance.

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

Returns
TypeDescription
DeleteCloudInstanceActionOrBuilder

getDeleteUserInstanceConfig()

public DeleteUserInstanceConfigAction getDeleteUserInstanceConfig()

Action that deletes a user instance config.

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

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

getDropCloudDatabase()

public DropCloudDatabaseAction getDropCloudDatabase()

Action that drops a Cloud Spanner database.

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

Returns
TypeDescription
DropCloudDatabaseAction

The dropCloudDatabase.

getDropCloudDatabaseOrBuilder()

public DropCloudDatabaseActionOrBuilder getDropCloudDatabaseOrBuilder()

Action that drops a Cloud Spanner database.

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

Returns
TypeDescription
DropCloudDatabaseActionOrBuilder

getGetCloudBackup()

public GetCloudBackupAction getGetCloudBackup()

Action that gets a Cloud Spanner database backup.

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

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

getGetCloudDatabase()

public GetCloudDatabaseAction getGetCloudDatabase()

Action that gets a Cloud Spanner database.

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

Returns
TypeDescription
GetCloudDatabaseAction

The getCloudDatabase.

getGetCloudDatabaseOrBuilder()

public GetCloudDatabaseActionOrBuilder getGetCloudDatabaseOrBuilder()

Action that gets a Cloud Spanner database.

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

Returns
TypeDescription
GetCloudDatabaseActionOrBuilder

getGetCloudInstance()

public GetCloudInstanceAction getGetCloudInstance()

Action that retrieves a Cloud Spanner instance.

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

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

getGetCloudInstanceOrBuilder()

public GetCloudInstanceActionOrBuilder getGetCloudInstanceOrBuilder()

Action that retrieves a Cloud Spanner instance.

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

Returns
TypeDescription
GetCloudInstanceActionOrBuilder

getGetOperation()

public GetOperationAction getGetOperation()

Action that gets an operation.

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

Returns
TypeDescription
GetOperationAction

The getOperation.

getGetOperationOrBuilder()

public GetOperationActionOrBuilder getGetOperationOrBuilder()

Action that gets an operation.

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

Returns
TypeDescription
GetOperationActionOrBuilder

getListCloudBackupOperations()

public ListCloudBackupOperationsAction getListCloudBackupOperations()

Action that lists Cloud Spanner database backup operations.

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

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

getListCloudBackups()

public ListCloudBackupsAction getListCloudBackups()

Action that lists Cloud Spanner database backups.

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

Returns
TypeDescription
ListCloudBackupsAction

The listCloudBackups.

getListCloudBackupsOrBuilder()

public ListCloudBackupsActionOrBuilder getListCloudBackupsOrBuilder()

Action that lists Cloud Spanner database backups.

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

Returns
TypeDescription
ListCloudBackupsActionOrBuilder

getListCloudDatabaseOperations()

public ListCloudDatabaseOperationsAction getListCloudDatabaseOperations()

Action that lists Cloud Spanner database operations.

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

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

getListCloudDatabases()

public ListCloudDatabasesAction getListCloudDatabases()

Action that lists Cloud Spanner databases.

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

Returns
TypeDescription
ListCloudDatabasesAction

The listCloudDatabases.

getListCloudDatabasesOrBuilder()

public ListCloudDatabasesActionOrBuilder getListCloudDatabasesOrBuilder()

Action that lists Cloud Spanner databases.

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

Returns
TypeDescription
ListCloudDatabasesActionOrBuilder

getListCloudInstances()

public ListCloudInstancesAction getListCloudInstances()

Action that lists Cloud Spanner instances.

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

Returns
TypeDescription
ListCloudInstancesAction

The listCloudInstances.

getListCloudInstancesOrBuilder()

public ListCloudInstancesActionOrBuilder getListCloudInstancesOrBuilder()

Action that lists Cloud Spanner instances.

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

Returns
TypeDescription
ListCloudInstancesActionOrBuilder

getListInstanceConfigs()

public ListCloudInstanceConfigsAction getListInstanceConfigs()

Action that lists user instance configs.

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

Returns
TypeDescription
ListCloudInstanceConfigsAction

The listInstanceConfigs.

getListInstanceConfigsOrBuilder()

public ListCloudInstanceConfigsActionOrBuilder getListInstanceConfigsOrBuilder()

Action that lists user instance configs.

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

Returns
TypeDescription
ListCloudInstanceConfigsActionOrBuilder

getParserForType()

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

getReconfigureCloudDatabase()

public ReconfigureCloudDatabaseAction getReconfigureCloudDatabase()

Action that reconfigures a Cloud Spanner database.

.google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28;

Returns
TypeDescription
ReconfigureCloudDatabaseAction

The reconfigureCloudDatabase.

getReconfigureCloudDatabaseOrBuilder()

public ReconfigureCloudDatabaseActionOrBuilder getReconfigureCloudDatabaseOrBuilder()

Action that reconfigures a Cloud Spanner database.

.google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28;

Returns
TypeDescription
ReconfigureCloudDatabaseActionOrBuilder

getRestoreCloudDatabase()

public RestoreCloudDatabaseAction getRestoreCloudDatabase()

Action that restores a Cloud Spanner database from a backup.

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

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateCloudBackup()

public UpdateCloudBackupAction getUpdateCloudBackup()

Action that updates a Cloud Spanner database backup.

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

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

getUpdateCloudInstance()

public UpdateCloudInstanceAction getUpdateCloudInstance()

Action that updates a Cloud Spanner instance.

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

Returns
TypeDescription
UpdateCloudInstanceAction

The updateCloudInstance.

getUpdateCloudInstanceOrBuilder()

public UpdateCloudInstanceActionOrBuilder getUpdateCloudInstanceOrBuilder()

Action that updates a Cloud Spanner instance.

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

Returns
TypeDescription
UpdateCloudInstanceActionOrBuilder

getUpdateUserInstanceConfig()

public UpdateUserInstanceConfigAction getUpdateUserInstanceConfig()

Action that updates a user instance config.

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

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

hasCancelOperation()

public boolean hasCancelOperation()

Action that cancels an operation.

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

Returns
TypeDescription
boolean

Whether the cancelOperation 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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the listInstanceConfigs field is set.

hasReconfigureCloudDatabase()

public boolean hasReconfigureCloudDatabase()

Action that reconfigures a Cloud Spanner database.

.google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28;

Returns
TypeDescription
boolean

Whether the reconfigureCloudDatabase 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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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