Class AdminResult (6.58.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
TypeDescription
int

DATABASE_RESPONSE_FIELD_NUMBER

public static final int DATABASE_RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_CONFIG_RESPONSE_FIELD_NUMBER

public static final int INSTANCE_CONFIG_RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_RESPONSE_FIELD_NUMBER

public static final int INSTANCE_RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_RESPONSE_FIELD_NUMBER

public static final int OPERATION_RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdminResult getDefaultInstance()
Returns
TypeDescription
AdminResult

getDescriptor()

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

newBuilder()

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

newBuilder(AdminResult prototype)

public static AdminResult.Builder newBuilder(AdminResult prototype)
Parameter
NameDescription
prototypeAdminResult
Returns
TypeDescription
AdminResult.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackupResponse()

public CloudBackupResponse getBackupResponse()

Results of cloud backup related actions.

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

Returns
TypeDescription
CloudBackupResponse

The backupResponse.

getBackupResponseOrBuilder()

public CloudBackupResponseOrBuilder getBackupResponseOrBuilder()

Results of cloud backup related actions.

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

Returns
TypeDescription
CloudBackupResponseOrBuilder

getDatabaseResponse()

public CloudDatabaseResponse getDatabaseResponse()

Results of database related actions.

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

Returns
TypeDescription
CloudDatabaseResponse

The databaseResponse.

getDatabaseResponseOrBuilder()

public CloudDatabaseResponseOrBuilder getDatabaseResponseOrBuilder()

Results of database related actions.

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

Returns
TypeDescription
CloudDatabaseResponseOrBuilder

getDefaultInstanceForType()

public AdminResult getDefaultInstanceForType()
Returns
TypeDescription
AdminResult

getInstanceConfigResponse()

public CloudInstanceConfigResponse getInstanceConfigResponse()

Results of instance config related actions.

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

Returns
TypeDescription
CloudInstanceConfigResponse

The instanceConfigResponse.

getInstanceConfigResponseOrBuilder()

public CloudInstanceConfigResponseOrBuilder getInstanceConfigResponseOrBuilder()

Results of instance config related actions.

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

Returns
TypeDescription
CloudInstanceConfigResponseOrBuilder

getInstanceResponse()

public CloudInstanceResponse getInstanceResponse()

Results of instance related actions.

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

Returns
TypeDescription
CloudInstanceResponse

The instanceResponse.

getInstanceResponseOrBuilder()

public CloudInstanceResponseOrBuilder getInstanceResponseOrBuilder()

Results of instance related actions.

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

Returns
TypeDescription
CloudInstanceResponseOrBuilder

getOperationResponse()

public OperationResponse getOperationResponse()

Results of operation related actions.

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

Returns
TypeDescription
OperationResponse

The operationResponse.

getOperationResponseOrBuilder()

public OperationResponseOrBuilder getOperationResponseOrBuilder()

Results of operation related actions.

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

Returns
TypeDescription
OperationResponseOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasBackupResponse()

public boolean hasBackupResponse()

Results of cloud backup related actions.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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