Class CreateInstanceConfigMetadata.Builder (6.68.0)

public static final class CreateInstanceConfigMetadata.Builder extends GeneratedMessageV3.Builder<CreateInstanceConfigMetadata.Builder> implements CreateInstanceConfigMetadataOrBuilder

Metadata type for the operation returned by CreateInstanceConfig.

Protobuf type google.spanner.admin.instance.v1.CreateInstanceConfigMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateInstanceConfigMetadata build()
Returns
Type Description
CreateInstanceConfigMetadata

buildPartial()

public CreateInstanceConfigMetadata buildPartial()
Returns
Type Description
CreateInstanceConfigMetadata

clear()

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

clearCancelTime()

public CreateInstanceConfigMetadata.Builder clearCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
CreateInstanceConfigMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfig()

public CreateInstanceConfigMetadata.Builder clearInstanceConfig()

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
CreateInstanceConfigMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public CreateInstanceConfigMetadata.Builder clearProgress()

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Returns
Type Description
CreateInstanceConfigMetadata.Builder

clone()

public CreateInstanceConfigMetadata.Builder clone()
Returns
Type Description
CreateInstanceConfigMetadata.Builder
Overrides

getCancelTime()

public Timestamp getCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
Timestamp

The cancelTime.

getCancelTimeBuilder()

public Timestamp.Builder getCancelTimeBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
Builder

getCancelTimeOrBuilder()

public TimestampOrBuilder getCancelTimeOrBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateInstanceConfigMetadata getDefaultInstanceForType()
Returns
Type Description
CreateInstanceConfigMetadata

getDescriptorForType()

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

getInstanceConfig()

public InstanceConfig getInstanceConfig()

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfigOrBuilder

getProgress()

public OperationProgress getProgress()

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Returns
Type Description
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Returns
Type Description
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Returns
Type Description
OperationProgressOrBuilder

hasCancelTime()

public boolean hasCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
boolean

Whether the cancelTime field is set.

hasInstanceConfig()

public boolean hasInstanceConfig()

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
boolean

Whether the instanceConfig field is set.

hasProgress()

public boolean hasProgress()

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Returns
Type Description
boolean

Whether the progress field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCancelTime(Timestamp value)

public CreateInstanceConfigMetadata.Builder mergeCancelTime(Timestamp value)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstanceConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CreateInstanceConfigMetadata other)

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

mergeInstanceConfig(InstanceConfig value)

public CreateInstanceConfigMetadata.Builder mergeInstanceConfig(InstanceConfig value)

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CreateInstanceConfigMetadata.Builder

mergeProgress(OperationProgress value)

public CreateInstanceConfigMetadata.Builder mergeProgress(OperationProgress value)

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Parameter
Name Description
value OperationProgress
Returns
Type Description
CreateInstanceConfigMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCancelTime(Timestamp value)

public CreateInstanceConfigMetadata.Builder setCancelTime(Timestamp value)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstanceConfigMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

public CreateInstanceConfigMetadata.Builder setCancelTime(Timestamp.Builder builderForValue)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateInstanceConfigMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfig(InstanceConfig value)

public CreateInstanceConfigMetadata.Builder setInstanceConfig(InstanceConfig value)

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CreateInstanceConfigMetadata.Builder

setInstanceConfig(InstanceConfig.Builder builderForValue)

public CreateInstanceConfigMetadata.Builder setInstanceConfig(InstanceConfig.Builder builderForValue)

The target instance config end state.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
CreateInstanceConfigMetadata.Builder

setProgress(OperationProgress value)

public CreateInstanceConfigMetadata.Builder setProgress(OperationProgress value)

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Parameter
Name Description
value OperationProgress
Returns
Type Description
CreateInstanceConfigMetadata.Builder

setProgress(OperationProgress.Builder builderForValue)

public CreateInstanceConfigMetadata.Builder setProgress(OperationProgress.Builder builderForValue)

The progress of the CreateInstanceConfig operation.

.google.spanner.admin.instance.v1.OperationProgress progress = 2;

Parameter
Name Description
builderForValue OperationProgress.Builder
Returns
Type Description
CreateInstanceConfigMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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