public final class UpdateInstancePartitionMetadata extends GeneratedMessageV3 implements UpdateInstancePartitionMetadataOrBuilder
Metadata type for the operation returned by
UpdateInstancePartition.
Protobuf type google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CANCEL_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INSTANCE_PARTITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static UpdateInstancePartitionMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UpdateInstancePartitionMetadata.Builder newBuilder()
public static UpdateInstancePartitionMetadata.Builder newBuilder(UpdateInstancePartitionMetadata prototype)
public static UpdateInstancePartitionMetadata parseDelimitedFrom(InputStream input)
public static UpdateInstancePartitionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateInstancePartitionMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static UpdateInstancePartitionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateInstancePartitionMetadata parseFrom(ByteString data)
public static UpdateInstancePartitionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateInstancePartitionMetadata parseFrom(CodedInputStream input)
public static UpdateInstancePartitionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateInstancePartitionMetadata parseFrom(InputStream input)
public static UpdateInstancePartitionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateInstancePartitionMetadata parseFrom(ByteBuffer data)
public static UpdateInstancePartitionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UpdateInstancePartitionMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCancelTime()
The time at which this operation was cancelled. If set, this operation is
in the process of undoing itself (which is guaranteed to succeed) and
cannot be cancelled again.
.google.protobuf.Timestamp cancel_time = 3;
Returns |
Type |
Description |
Timestamp |
The cancelTime.
|
public TimestampOrBuilder getCancelTimeOrBuilder()
The time at which this operation was cancelled. If set, this operation is
in the process of undoing itself (which is guaranteed to succeed) and
cannot be cancelled again.
.google.protobuf.Timestamp cancel_time = 3;
public UpdateInstancePartitionMetadata getDefaultInstanceForType()
public Timestamp getEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Returns |
Type |
Description |
Timestamp |
The endTime.
|
public TimestampOrBuilder getEndTimeOrBuilder()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
public InstancePartition getInstancePartition()
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
public InstancePartitionOrBuilder getInstancePartitionOrBuilder()
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
public Parser<UpdateInstancePartitionMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Timestamp getStartTime()
The time at which
UpdateInstancePartition
request was received.
.google.protobuf.Timestamp start_time = 2;
Returns |
Type |
Description |
Timestamp |
The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
The time at which
UpdateInstancePartition
request was received.
.google.protobuf.Timestamp start_time = 2;
public boolean hasCancelTime()
The time at which this operation was cancelled. If set, this operation is
in the process of undoing itself (which is guaranteed to succeed) and
cannot be cancelled again.
.google.protobuf.Timestamp cancel_time = 3;
Returns |
Type |
Description |
boolean |
Whether the cancelTime field is set.
|
public boolean hasEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
public boolean hasInstancePartition()
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
Returns |
Type |
Description |
boolean |
Whether the instancePartition field is set.
|
public boolean hasStartTime()
The time at which
UpdateInstancePartition
request was received.
.google.protobuf.Timestamp start_time = 2;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateInstancePartitionMetadata.Builder newBuilderForType()
protected UpdateInstancePartitionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public UpdateInstancePartitionMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides