Interface FreeInstanceMetadataOrBuilder (6.85.0)

public interface FreeInstanceMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpireBehavior()

public abstract 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;

Returns
Type Description
FreeInstanceMetadata.ExpireBehavior

The expireBehavior.

getExpireBehaviorValue()

public abstract 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.

getExpireTime()

public abstract 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.

getExpireTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getUpgradeTime()

public abstract 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.

getUpgradeTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

public abstract 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.

hasUpgradeTime()

public abstract 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.