Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class FreeInstanceMetadata (6.96.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public final class FreeInstanceMetadata extends GeneratedMessageV3 implements FreeInstanceMetadataOrBuilder
Free instance specific metadata that is kept even after an instance has been
upgraded for tracking purposes.
Protobuf type google.spanner.admin.instance.v1.FreeInstanceMetadata
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 EXPIRE_BEHAVIOR_FIELD_NUMBER
Field Value
Type
Description
int
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPGRADE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static FreeInstanceMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static FreeInstanceMetadata . Builder newBuilder ()
public static FreeInstanceMetadata . Builder newBuilder ( FreeInstanceMetadata prototype )
public static FreeInstanceMetadata parseDelimitedFrom ( InputStream input )
public static FreeInstanceMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FreeInstanceMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static FreeInstanceMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static FreeInstanceMetadata parseFrom ( ByteString data )
public static FreeInstanceMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static FreeInstanceMetadata parseFrom ( CodedInputStream input )
public static FreeInstanceMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static FreeInstanceMetadata parseFrom ( InputStream input )
public static FreeInstanceMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FreeInstanceMetadata parseFrom ( ByteBuffer data )
public static FreeInstanceMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<FreeInstanceMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public FreeInstanceMetadata getDefaultInstanceForType ()
public FreeInstanceMetadata . ExpireBehavior getExpireBehavior ()
Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during
or after creation, and before expiration.
.google.spanner.admin.instance.v1.FreeInstanceMetadata.ExpireBehavior expire_behavior = 3;
public int getExpireBehaviorValue ()
Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during
or after creation, and before expiration.
.google.spanner.admin.instance.v1.FreeInstanceMetadata.ExpireBehavior expire_behavior = 3;
Returns
Type
Description
int
The enum numeric value on the wire for expireBehavior.
public Timestamp getExpireTime ()
Output only. Timestamp after which the instance will either be upgraded or
scheduled for deletion after a grace period. ExpireBehavior is used to
choose between upgrading or scheduling the free instance for deletion. This
timestamp is set during the creation of a free instance.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The expireTime.
public TimestampOrBuilder getExpireTimeOrBuilder ()
Output only. Timestamp after which the instance will either be upgraded or
scheduled for deletion after a grace period. ExpireBehavior is used to
choose between upgrading or scheduling the free instance for deletion. This
timestamp is set during the creation of a free instance.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<FreeInstanceMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getUpgradeTime ()
Output only. If present, the timestamp at which the free instance was
upgraded to a provisioned instance.
.google.protobuf.Timestamp upgrade_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The upgradeTime.
public TimestampOrBuilder getUpgradeTimeOrBuilder ()
Output only. If present, the timestamp at which the free instance was
upgraded to a provisioned instance.
.google.protobuf.Timestamp upgrade_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasExpireTime ()
Output only. Timestamp after which the instance will either be upgraded or
scheduled for deletion after a grace period. ExpireBehavior is used to
choose between upgrading or scheduling the free instance for deletion. This
timestamp is set during the creation of a free instance.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the expireTime field is set.
public boolean hasUpgradeTime ()
Output only. If present, the timestamp at which the free instance was
upgraded to a provisioned instance.
.google.protobuf.Timestamp upgrade_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the upgradeTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public FreeInstanceMetadata . Builder newBuilderForType ()
protected FreeInstanceMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public FreeInstanceMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]