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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MoveInstanceMetadata.BuilderImplements
MoveInstanceMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MoveInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
build()
public MoveInstanceMetadata build()
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata |
buildPartial()
public MoveInstanceMetadata buildPartial()
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata |
clear()
public MoveInstanceMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
clearCancelTime()
public MoveInstanceMetadata.Builder clearCancelTime()
The time at which this operation was cancelled.
.google.protobuf.Timestamp cancel_time = 3;
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public MoveInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MoveInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
clearProgress()
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;
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
clearTargetConfig()
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;
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
This builder for chaining. |
clone()
public MoveInstanceMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata.Builder |
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 MoveInstanceMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MoveInstanceMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProgress()
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;
Returns | |
---|---|
Type | Description |
OperationProgress |
The progress. |
getProgressBuilder()
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;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
getProgressOrBuilder()
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;
Returns | |
---|---|
Type | Description |
OperationProgressOrBuilder |