Class UpdateInstanceMetadata (6.68.0)

public final class UpdateInstanceMetadata extends GeneratedMessageV3 implements UpdateInstanceMetadataOrBuilder

Metadata type for the operation returned by UpdateInstance.

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

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

EXPECTED_FULFILLMENT_PERIOD_FIELD_NUMBER

public static final int EXPECTED_FULFILLMENT_PERIOD_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_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 UpdateInstanceMetadata getDefaultInstance()
Returns
Type Description
UpdateInstanceMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateInstanceMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 UpdateInstanceMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateInstanceMetadata

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

getExpectedFulfillmentPeriod()

public FulfillmentPeriod getExpectedFulfillmentPeriod()

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
FulfillmentPeriod

The expectedFulfillmentPeriod.

getExpectedFulfillmentPeriodValue()

public int getExpectedFulfillmentPeriodValue()

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
int

The enum numeric value on the wire for expectedFulfillmentPeriod.

getInstance()

public Instance getInstance()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
Instance

The instance.

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
InstanceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which UpdateInstance 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.

hasInstance()

public boolean hasInstance()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
boolean

Whether the instance field is set.

hasStartTime()

public boolean hasStartTime()

The time at which UpdateInstance 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 UpdateInstanceMetadata.Builder newBuilderForType()
Returns
Type Description
UpdateInstanceMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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