Interface Compute.ExtendInstanceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Compute.ExtendInstanceRequest, Compute.ExtendInstanceRequest.Builder
Enclosing class:
Compute

public static interface Compute.ExtendInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The minimum duration this instance should be running.
    com.google.protobuf.DurationOrBuilder
    The minimum duration this instance should be running.
    com.google.protobuf.Duration
    The duration this instance should be extended by.
    com.google.protobuf.DurationOrBuilder
    The duration this instance should be extended by.
    The ID of the instance which should be extended.
    com.google.protobuf.ByteString
    The ID of the instance which should be extended.
    com.google.protobuf.Timestamp
    The new deadline (in UTC) at which the instance is destroyed.
    com.google.protobuf.TimestampOrBuilder
    The new deadline (in UTC) at which the instance is destroyed.
    boolean
    The minimum duration this instance should be running.
    boolean
    The duration this instance should be extended by.
    boolean
    The new deadline (in UTC) at which the instance is destroyed.

    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

    • getInstanceId

      String getInstanceId()
       The ID of the instance which should be extended.
       
      string instance_id = 1;
      Returns:
      The instanceId.
    • getInstanceIdBytes

      com.google.protobuf.ByteString getInstanceIdBytes()
       The ID of the instance which should be extended.
       
      string instance_id = 1;
      Returns:
      The bytes for instanceId.
    • hasExtendBy

      boolean hasExtendBy()
       The duration this instance should be extended by.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration extend_by = 2;
      Returns:
      Whether the extendBy field is set.
    • getExtendBy

      com.google.protobuf.Duration getExtendBy()
       The duration this instance should be extended by.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration extend_by = 2;
      Returns:
      The extendBy.
    • getExtendByOrBuilder

      com.google.protobuf.DurationOrBuilder getExtendByOrBuilder()
       The duration this instance should be extended by.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration extend_by = 2;
    • hasEnsureMinimum

      boolean hasEnsureMinimum()
       The minimum duration this instance should be running.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration ensure_minimum = 3;
      Returns:
      Whether the ensureMinimum field is set.
    • getEnsureMinimum

      com.google.protobuf.Duration getEnsureMinimum()
       The minimum duration this instance should be running.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration ensure_minimum = 3;
      Returns:
      The ensureMinimum.
    • getEnsureMinimumOrBuilder

      com.google.protobuf.DurationOrBuilder getEnsureMinimumOrBuilder()
       The minimum duration this instance should be running.
      
       Note: In JSON format, the Duration type is encoded as a string rather than an
       object, where the string ends in the suffix "s" (indicating seconds) and
       is preceded by the number of seconds, with nanoseconds expressed as
       fractional seconds.
       
      .google.protobuf.Duration ensure_minimum = 3;
    • hasNewDeadline

      boolean hasNewDeadline()
       The new deadline (in UTC) at which the instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp new_deadline = 4;
      Returns:
      Whether the newDeadline field is set.
    • getNewDeadline

      com.google.protobuf.Timestamp getNewDeadline()
       The new deadline (in UTC) at which the instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp new_deadline = 4;
      Returns:
      The newDeadline.
    • getNewDeadlineOrBuilder

      com.google.protobuf.TimestampOrBuilder getNewDeadlineOrBuilder()
       The new deadline (in UTC) at which the instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp new_deadline = 4;