Class CreateInstanceConfigMetadata.Builder (6.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceConfigMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

build()

public CreateInstanceConfigMetadata build()
Returns
TypeDescription
CreateInstanceConfigMetadata

buildPartial()

public CreateInstanceConfigMetadata buildPartial()
Returns
TypeDescription
CreateInstanceConfigMetadata

clear()

public CreateInstanceConfigMetadata.Builder clear()
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

clearCancelTime()

public CreateInstanceConfigMetadata.Builder clearCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateInstanceConfigMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

clearInstanceConfig()

public CreateInstanceConfigMetadata.Builder clearInstanceConfig()

The target instance config end state.

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

Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInstanceConfigMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

clearProgress()

public CreateInstanceConfigMetadata.Builder clearProgress()

The progress of the CreateInstanceConfig operation.

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

Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

clone()

public CreateInstanceConfigMetadata.Builder clone()
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

getCancelTime()

public Timestamp getCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Timestamp

The cancelTime.

getCancelTimeBuilder()

public Timestamp.Builder getCancelTimeBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Builder

getCancelTimeOrBuilder()

public TimestampOrBuilder getCancelTimeOrBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateInstanceConfigMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateInstanceConfigMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceConfig()

public InstanceConfig getInstanceConfig()

The target instance config end state.

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

Returns
TypeDescription
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

The target instance config end state.

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

Returns
TypeDescription
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

The target instance config end state.

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

Returns
TypeDescription
InstanceConfigOrBuilder

getProgress()

public OperationProgress getProgress()

The progress of the CreateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the CreateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the CreateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgressOrBuilder

hasCancelTime()

public boolean hasCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

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

Whether the progress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInstanceConfigMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateInstanceConfigMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

mergeFrom(CreateInstanceConfigMetadata other)

public CreateInstanceConfigMetadata.Builder mergeFrom(CreateInstanceConfigMetadata other)
Parameter
NameDescription
otherCreateInstanceConfigMetadata
Returns
TypeDescription
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
NameDescription
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
valueOperationProgress
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceConfigMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceConfigMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValueInstanceConfig.Builder
Returns
TypeDescription
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
NameDescription
valueOperationProgress
Returns
TypeDescription
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
NameDescription
builderForValueOperationProgress.Builder
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder

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

public CreateInstanceConfigMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceConfigMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInstanceConfigMetadata.Builder
Overrides