public static final class MoveInstanceMetadata.Builder extends GeneratedMessageV3.Builder<MoveInstanceMetadata.Builder> implements MoveInstanceMetadataOrBuilder
Metadata type for the operation returned by
MoveInstance.
Protobuf type google.spanner.admin.instance.v1.MoveInstanceMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public MoveInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MoveInstanceMetadata build()
public MoveInstanceMetadata buildPartial()
public MoveInstanceMetadata.Builder clear()
Overrides
public MoveInstanceMetadata.Builder clearCancelTime()
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
public MoveInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MoveInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MoveInstanceMetadata.Builder clearProgress()
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public MoveInstanceMetadata.Builder clearTargetConfig()
The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
string target_config = 1;
public MoveInstanceMetadata.Builder clone()
Overrides
public Timestamp getCancelTime()
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
Returns |
Type |
Description |
Timestamp |
The cancelTime.
|
public Timestamp.Builder getCancelTimeBuilder()
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
public TimestampOrBuilder getCancelTimeOrBuilder()
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
public MoveInstanceMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public OperationProgress getProgress()
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public OperationProgress.Builder getProgressBuilder()
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public String getTargetConfig()
The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
string target_config = 1;
Returns |
Type |
Description |
String |
The targetConfig.
|
public ByteString getTargetConfigBytes()
The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
string target_config = 1;
Returns |
Type |
Description |
ByteString |
The bytes for targetConfig.
|
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.
|
public boolean hasProgress()
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
Returns |
Type |
Description |
boolean |
Whether the progress field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MoveInstanceMetadata.Builder mergeCancelTime(Timestamp value)
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
public MoveInstanceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MoveInstanceMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public MoveInstanceMetadata.Builder mergeFrom(MoveInstanceMetadata other)
public MoveInstanceMetadata.Builder mergeProgress(OperationProgress value)
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public final MoveInstanceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MoveInstanceMetadata.Builder setCancelTime(Timestamp value)
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
public MoveInstanceMetadata.Builder setCancelTime(Timestamp.Builder builderForValue)
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public MoveInstanceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MoveInstanceMetadata.Builder setProgress(OperationProgress value)
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public MoveInstanceMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the
MoveInstance
operation.
progress_percent
is reset when cancellation is requested.
.google.spanner.admin.instance.v1.OperationProgress progress = 2;
public MoveInstanceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public MoveInstanceMetadata.Builder setTargetConfig(String value)
The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
string target_config = 1;
Parameter |
Name |
Description |
value |
String
The targetConfig to set.
|
public MoveInstanceMetadata.Builder setTargetConfigBytes(ByteString value)
The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
string target_config = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for targetConfig to set.
|
public final MoveInstanceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides