Class Compute.ExtendInstanceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.ExtendInstanceRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Compute.ExtendInstanceRequestOrBuilder
Enclosing class:
Compute

public static final class Compute.ExtendInstanceRequest extends com.google.protobuf.GeneratedMessage implements Compute.ExtendInstanceRequestOrBuilder
Protobuf type namespace.cloud.compute.v1beta.ExtendInstanceRequest
See Also:
  • Field Details

    • INSTANCE_ID_FIELD_NUMBER

      public static final int INSTANCE_ID_FIELD_NUMBER
      See Also:
    • EXTEND_BY_FIELD_NUMBER

      public static final int EXTEND_BY_FIELD_NUMBER
      See Also:
    • ENSURE_MINIMUM_FIELD_NUMBER

      public static final int ENSURE_MINIMUM_FIELD_NUMBER
      See Also:
    • NEW_DEADLINE_FIELD_NUMBER

      public static final int NEW_DEADLINE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getInstanceId

      public String getInstanceId()
       The ID of the instance which should be extended.
       
      string instance_id = 1;
      Specified by:
      getInstanceId in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

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

      public 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;
      Specified by:
      hasExtendBy in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      Whether the extendBy field is set.
    • getExtendBy

      public 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;
      Specified by:
      getExtendBy in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      The extendBy.
    • getExtendByOrBuilder

      public 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;
      Specified by:
      getExtendByOrBuilder in interface Compute.ExtendInstanceRequestOrBuilder
    • hasEnsureMinimum

      public 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;
      Specified by:
      hasEnsureMinimum in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      Whether the ensureMinimum field is set.
    • getEnsureMinimum

      public 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;
      Specified by:
      getEnsureMinimum in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      The ensureMinimum.
    • getEnsureMinimumOrBuilder

      public 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;
      Specified by:
      getEnsureMinimumOrBuilder in interface Compute.ExtendInstanceRequestOrBuilder
    • hasNewDeadline

      public 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;
      Specified by:
      hasNewDeadline in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      Whether the newDeadline field is set.
    • getNewDeadline

      public 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;
      Specified by:
      getNewDeadline in interface Compute.ExtendInstanceRequestOrBuilder
      Returns:
      The newDeadline.
    • getNewDeadlineOrBuilder

      public 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;
      Specified by:
      getNewDeadlineOrBuilder in interface Compute.ExtendInstanceRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Compute.ExtendInstanceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Compute.ExtendInstanceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.ExtendInstanceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Compute.ExtendInstanceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Compute.ExtendInstanceRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Compute.ExtendInstanceRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Compute.ExtendInstanceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Compute.ExtendInstanceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Compute.ExtendInstanceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Compute.ExtendInstanceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder