Send feedback
Class CreateInstanceMetadata (6.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.74.0 keyboard_arrow_down
public final class CreateInstanceMetadata extends GeneratedMessageV3 implements CreateInstanceMetadataOrBuilder
Metadata type for the operation returned by
CreateInstance .
Protobuf type google.spanner.admin.instance.v1.CreateInstanceMetadata
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 EXPECTED_FULFILLMENT_PERIOD_FIELD_NUMBER
Field Value
Type
Description
int
public static final int INSTANCE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CreateInstanceMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CreateInstanceMetadata . Builder newBuilder ()
public static CreateInstanceMetadata . Builder newBuilder ( CreateInstanceMetadata prototype )
public static CreateInstanceMetadata parseDelimitedFrom ( InputStream input )
public static CreateInstanceMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateInstanceMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CreateInstanceMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CreateInstanceMetadata parseFrom ( ByteString data )
public static CreateInstanceMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CreateInstanceMetadata parseFrom ( CodedInputStream input )
public static CreateInstanceMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateInstanceMetadata parseFrom ( InputStream input )
public static CreateInstanceMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateInstanceMetadata parseFrom ( ByteBuffer data )
public static CreateInstanceMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CreateInstanceMetadata> 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 CreateInstanceMetadata 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 FulfillmentPeriod getExpectedFulfillmentPeriod ()
The expected fulfillment period of this create operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;
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.
public Instance getInstance ()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Returns
Type
Description
Instance
The instance.
public InstanceOrBuilder getInstanceOrBuilder ()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
public Parser<CreateInstanceMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The time at which the
CreateInstance
request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The time at which the
CreateInstance
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 hasInstance ()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Returns
Type
Description
boolean
Whether the instance field is set.
public boolean hasStartTime ()
The time at which the
CreateInstance
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 CreateInstanceMetadata . Builder newBuilderForType ()
protected CreateInstanceMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CreateInstanceMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]