Class AdminResult.Builder (6.69.0)

public static final class AdminResult.Builder extends GeneratedMessageV3.Builder<AdminResult.Builder> implements AdminResultOrBuilder

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

Protobuf type google.spanner.executor.v1.AdminResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdminResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdminResult.Builder
Overrides

build()

public AdminResult build()
Returns
Type Description
AdminResult

buildPartial()

public AdminResult buildPartial()
Returns
Type Description
AdminResult

clear()

public AdminResult.Builder clear()
Returns
Type Description
AdminResult.Builder
Overrides

clearBackupResponse()

public AdminResult.Builder clearBackupResponse()

Results of cloud backup related actions.

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

Returns
Type Description
AdminResult.Builder

clearDatabaseResponse()

public AdminResult.Builder clearDatabaseResponse()

Results of database related actions.

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

Returns
Type Description
AdminResult.Builder

clearField(Descriptors.FieldDescriptor field)

public AdminResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AdminResult.Builder
Overrides

clearInstanceConfigResponse()

public AdminResult.Builder clearInstanceConfigResponse()

Results of instance config related actions.

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

Returns
Type Description
AdminResult.Builder

clearInstanceResponse()

public AdminResult.Builder clearInstanceResponse()

Results of instance related actions.

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

Returns
Type Description
AdminResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AdminResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AdminResult.Builder
Overrides

clearOperationResponse()

public AdminResult.Builder clearOperationResponse()

Results of operation related actions.

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

Returns
Type Description
AdminResult.Builder

clone()

public AdminResult.Builder clone()
Returns
Type Description
AdminResult.Builder
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.

getBackupResponseBuilder()

public CloudBackupResponse.Builder getBackupResponseBuilder()

Results of cloud backup related actions.

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

Returns
Type Description
CloudBackupResponse.Builder

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.

getDatabaseResponseBuilder()

public CloudDatabaseResponse.Builder getDatabaseResponseBuilder()

Results of database related actions.

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

Returns
Type Description
CloudDatabaseResponse.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getInstanceConfigResponseBuilder()

public CloudInstanceConfigResponse.Builder getInstanceConfigResponseBuilder()

Results of instance config related actions.

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

Returns
Type Description
CloudInstanceConfigResponse.Builder

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.

getInstanceResponseBuilder()

public CloudInstanceResponse.Builder getInstanceResponseBuilder()

Results of instance related actions.

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

Returns
Type Description
CloudInstanceResponse.Builder

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.

getOperationResponseBuilder()

public OperationResponse.Builder getOperationResponseBuilder()

Results of operation related actions.

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

Returns
Type Description
OperationResponse.Builder

getOperationResponseOrBuilder()

public OperationResponseOrBuilder getOperationResponseOrBuilder()

Results of operation related actions.

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

Returns
Type Description
OperationResponseOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupResponse(CloudBackupResponse value)

public AdminResult.Builder mergeBackupResponse(CloudBackupResponse value)

Results of cloud backup related actions.

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

Parameter
Name Description
value CloudBackupResponse
Returns
Type Description
AdminResult.Builder

mergeDatabaseResponse(CloudDatabaseResponse value)

public AdminResult.Builder mergeDatabaseResponse(CloudDatabaseResponse value)

Results of database related actions.

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

Parameter
Name Description
value CloudDatabaseResponse
Returns
Type Description
AdminResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdminResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdminResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AdminResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AdminResult.Builder
Overrides

mergeFrom(AdminResult other)

public AdminResult.Builder mergeFrom(AdminResult other)
Parameter
Name Description
other AdminResult
Returns
Type Description
AdminResult.Builder

mergeInstanceConfigResponse(CloudInstanceConfigResponse value)

public AdminResult.Builder mergeInstanceConfigResponse(CloudInstanceConfigResponse value)

Results of instance config related actions.

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

Parameter
Name Description
value CloudInstanceConfigResponse
Returns
Type Description
AdminResult.Builder

mergeInstanceResponse(CloudInstanceResponse value)

public AdminResult.Builder mergeInstanceResponse(CloudInstanceResponse value)

Results of instance related actions.

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

Parameter
Name Description
value CloudInstanceResponse
Returns
Type Description
AdminResult.Builder

mergeOperationResponse(OperationResponse value)

public AdminResult.Builder mergeOperationResponse(OperationResponse value)

Results of operation related actions.

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

Parameter
Name Description
value OperationResponse
Returns
Type Description
AdminResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdminResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdminResult.Builder
Overrides

setBackupResponse(CloudBackupResponse value)

public AdminResult.Builder setBackupResponse(CloudBackupResponse value)

Results of cloud backup related actions.

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

Parameter
Name Description
value CloudBackupResponse
Returns
Type Description
AdminResult.Builder

setBackupResponse(CloudBackupResponse.Builder builderForValue)

public AdminResult.Builder setBackupResponse(CloudBackupResponse.Builder builderForValue)

Results of cloud backup related actions.

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

Parameter
Name Description
builderForValue CloudBackupResponse.Builder
Returns
Type Description
AdminResult.Builder

setDatabaseResponse(CloudDatabaseResponse value)

public AdminResult.Builder setDatabaseResponse(CloudDatabaseResponse value)

Results of database related actions.

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

Parameter
Name Description
value CloudDatabaseResponse
Returns
Type Description
AdminResult.Builder

setDatabaseResponse(CloudDatabaseResponse.Builder builderForValue)

public AdminResult.Builder setDatabaseResponse(CloudDatabaseResponse.Builder builderForValue)

Results of database related actions.

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

Parameter
Name Description
builderForValue CloudDatabaseResponse.Builder
Returns
Type Description
AdminResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AdminResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdminResult.Builder
Overrides

setInstanceConfigResponse(CloudInstanceConfigResponse value)

public AdminResult.Builder setInstanceConfigResponse(CloudInstanceConfigResponse value)

Results of instance config related actions.

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

Parameter
Name Description
value CloudInstanceConfigResponse
Returns
Type Description
AdminResult.Builder

setInstanceConfigResponse(CloudInstanceConfigResponse.Builder builderForValue)

public AdminResult.Builder setInstanceConfigResponse(CloudInstanceConfigResponse.Builder builderForValue)

Results of instance config related actions.

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

Parameter
Name Description
builderForValue CloudInstanceConfigResponse.Builder
Returns
Type Description
AdminResult.Builder

setInstanceResponse(CloudInstanceResponse value)

public AdminResult.Builder setInstanceResponse(CloudInstanceResponse value)

Results of instance related actions.

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

Parameter
Name Description
value CloudInstanceResponse
Returns
Type Description
AdminResult.Builder

setInstanceResponse(CloudInstanceResponse.Builder builderForValue)

public AdminResult.Builder setInstanceResponse(CloudInstanceResponse.Builder builderForValue)

Results of instance related actions.

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

Parameter
Name Description
builderForValue CloudInstanceResponse.Builder
Returns
Type Description
AdminResult.Builder

setOperationResponse(OperationResponse value)

public AdminResult.Builder setOperationResponse(OperationResponse value)

Results of operation related actions.

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

Parameter
Name Description
value OperationResponse
Returns
Type Description
AdminResult.Builder

setOperationResponse(OperationResponse.Builder builderForValue)

public AdminResult.Builder setOperationResponse(OperationResponse.Builder builderForValue)

Results of operation related actions.

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

Parameter
Name Description
builderForValue OperationResponse.Builder
Returns
Type Description
AdminResult.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AdminResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdminResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AdminResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdminResult.Builder
Overrides