Class UpdateInstancePartitionMetadata (6.80.1)

public final class UpdateInstancePartitionMetadata extends GeneratedMessageV3 implements UpdateInstancePartitionMetadataOrBuilder

Metadata type for the operation returned by UpdateInstancePartition.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateInstancePartitionMetadata

Static Fields

CANCEL_TIME_FIELD_NUMBER

public static final int CANCEL_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_PARTITION_FIELD_NUMBER

public static final int INSTANCE_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateInstancePartitionMetadata getDefaultInstance()
Returns
Type Description
UpdateInstancePartitionMetadata

getDescriptor()

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

newBuilder()

public static UpdateInstancePartitionMetadata.Builder newBuilder()
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

newBuilder(UpdateInstancePartitionMetadata prototype)

public static UpdateInstancePartitionMetadata.Builder newBuilder(UpdateInstancePartitionMetadata prototype)
Parameter
Name Description
prototype UpdateInstancePartitionMetadata
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

parseDelimitedFrom(InputStream input)

public static UpdateInstancePartitionMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateInstancePartitionMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateInstancePartitionMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateInstancePartitionMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateInstancePartitionMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateInstancePartitionMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstancePartitionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstancePartitionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateInstancePartitionMetadata> parser()
Returns
Type Description
Parser<UpdateInstancePartitionMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCancelTime()

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.

getCancelTimeOrBuilder()

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;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateInstancePartitionMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateInstancePartitionMetadata

getEndTime()

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.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getInstancePartition()

public InstancePartition getInstancePartition()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartition

The instancePartition.

getInstancePartitionOrBuilder()

public InstancePartitionOrBuilder getInstancePartitionOrBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartitionOrBuilder

getParserForType()

public Parser<UpdateInstancePartitionMetadata> getParserForType()
Returns
Type Description
Parser<UpdateInstancePartitionMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

hasCancelTime()

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.

hasEndTime()

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.

hasInstancePartition()

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.

hasStartTime()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateInstancePartitionMetadata.Builder newBuilderForType()
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateInstancePartitionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateInstancePartitionMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateInstancePartitionMetadata.Builder toBuilder()
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException