public final class CreateInstanceMetadata extends GeneratedMessageV3 implements CreateInstanceMetadataOrBuilder
Metadata type for the operation returned by CreateInstance.
Protobuf type google.spanner.admin.instance.v1.CreateInstanceMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateInstanceMetadataImplements
CreateInstanceMetadataOrBuilderStatic 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 CreateInstanceMetadata getDefaultInstance()
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CreateInstanceMetadata.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata.Builder |
newBuilder(CreateInstanceMetadata prototype)
public static CreateInstanceMetadata.Builder newBuilder(CreateInstanceMetadata prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CreateInstanceMetadata |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static CreateInstanceMetadata parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateInstanceMetadata parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateInstanceMetadata parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateInstanceMetadata parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateInstanceMetadata parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateInstanceMetadata parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateInstanceMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateInstanceMetadata> parser()
Returns | |
---|---|
Type | Description |
Parser<CreateInstanceMetadata> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 CreateInstanceMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateInstanceMetadata |
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 create 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 create 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 instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Returns | |
---|---|
Type | Description |
Instance |
The instance. |
getInstanceOrBuilder()
public InstanceOrBuilder getInstanceOrBuilder()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Returns | |
---|---|
Type | Description |
InstanceOrBuilder |
getParserForType()
public Parser<CreateInstanceMetadata> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CreateInstanceMetadata> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStartTime()
public Timestamp getStartTime()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |