Interface FreeInstanceMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FreeInstanceMetadata, FreeInstanceMetadata.Builder

public interface FreeInstanceMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies the expiration behavior of a free instance.
    int
    Specifies the expiration behavior of a free instance.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    boolean
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasExpireTime

      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:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.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:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.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];
    • hasUpgradeTime

      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:
      Whether the upgradeTime field is set.
    • getUpgradeTime

      com.google.protobuf.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:
      The upgradeTime.
    • getUpgradeTimeOrBuilder

      com.google.protobuf.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];
    • getExpireBehaviorValue

      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:
      The enum numeric value on the wire for 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:
      The expireBehavior.