Class AdminResult (6.69.0)

public final class AdminResult extends GeneratedMessageV3 implements AdminResultOrBuilder

AdminResult contains admin action results, for database/backup/operation.

Protobuf type google.spanner.executor.v1.AdminResult

Static Fields

BACKUP_RESPONSE_FIELD_NUMBER

public static final int BACKUP_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_RESPONSE_FIELD_NUMBER

public static final int DATABASE_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_CONFIG_RESPONSE_FIELD_NUMBER

public static final int INSTANCE_CONFIG_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_RESPONSE_FIELD_NUMBER

public static final int INSTANCE_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_RESPONSE_FIELD_NUMBER

public static final int OPERATION_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdminResult getDefaultInstance()
Returns
Type Description
AdminResult

getDescriptor()

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

newBuilder()

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

newBuilder(AdminResult prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackupResponse()

public CloudBackupResponse getBackupResponse()

Results of cloud backup related actions.

.google.spanner.executor.v1.CloudBackupResponse backup_response = 1;

Returns
Type Description
CloudBackupResponse

The backupResponse.

getBackupResponseOrBuilder()

public CloudBackupResponseOrBuilder getBackupResponseOrBuilder()

Results of cloud backup related actions.

.google.spanner.executor.v1.CloudBackupResponse backup_response = 1;

Returns
Type Description
CloudBackupResponseOrBuilder

getDatabaseResponse()

public CloudDatabaseResponse getDatabaseResponse()

Results of database related actions.

.google.spanner.executor.v1.CloudDatabaseResponse database_response = 3;

Returns
Type Description
CloudDatabaseResponse

The databaseResponse.

getDatabaseResponseOrBuilder()

public CloudDatabaseResponseOrBuilder getDatabaseResponseOrBuilder()

Results of database related actions.

.google.spanner.executor.v1.CloudDatabaseResponse database_response = 3;

Returns
Type Description
CloudDatabaseResponseOrBuilder

getDefaultInstanceForType()

public AdminResult getDefaultInstanceForType()
Returns
Type Description
AdminResult

getInstanceConfigResponse()

public CloudInstanceConfigResponse getInstanceConfigResponse()

Results of instance config related actions.

.google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5;

Returns
Type Description
CloudInstanceConfigResponse

The instanceConfigResponse.

getInstanceConfigResponseOrBuilder()

public CloudInstanceConfigResponseOrBuilder getInstanceConfigResponseOrBuilder()

Results of instance config related actions.

.google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5;

Returns
Type Description
CloudInstanceConfigResponseOrBuilder

getInstanceResponse()

public CloudInstanceResponse getInstanceResponse()

Results of instance related actions.

.google.spanner.executor.v1.CloudInstanceResponse instance_response = 4;

Returns
Type Description
CloudInstanceResponse

The instanceResponse.

getInstanceResponseOrBuilder()

public CloudInstanceResponseOrBuilder getInstanceResponseOrBuilder()

Results of instance related actions.

.google.spanner.executor.v1.CloudInstanceResponse instance_response = 4;

Returns
Type Description
CloudInstanceResponseOrBuilder

getOperationResponse()

public OperationResponse getOperationResponse()

Results of operation related actions.

.google.spanner.executor.v1.OperationResponse operation_response = 2;

Returns
Type Description
OperationResponse

The operationResponse.

getOperationResponseOrBuilder()

public OperationResponseOrBuilder getOperationResponseOrBuilder()

Results of operation related actions.

.google.spanner.executor.v1.OperationResponse operation_response = 2;

Returns
Type Description
OperationResponseOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBackupResponse()

public boolean hasBackupResponse()

Results of cloud backup related actions.

.google.spanner.executor.v1.CloudBackupResponse backup_response = 1;

Returns
Type Description
boolean

Whether the backupResponse field is set.

hasDatabaseResponse()

public boolean hasDatabaseResponse()

Results of database related actions.

.google.spanner.executor.v1.CloudDatabaseResponse database_response = 3;

Returns
Type Description
boolean

Whether the databaseResponse field is set.

hasInstanceConfigResponse()

public boolean hasInstanceConfigResponse()

Results of instance config related actions.

.google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5;

Returns
Type Description
boolean

Whether the instanceConfigResponse field is set.

hasInstanceResponse()

public boolean hasInstanceResponse()

Results of instance related actions.

.google.spanner.executor.v1.CloudInstanceResponse instance_response = 4;

Returns
Type Description
boolean

Whether the instanceResponse field is set.

hasOperationResponse()

public boolean hasOperationResponse()

Results of operation related actions.

.google.spanner.executor.v1.OperationResponse operation_response = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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