Class Compute.WaitInstanceRequest

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

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

    • INSTANCE_ID_FIELD_NUMBER

      public static final int INSTANCE_ID_FIELD_NUMBER
      See Also:
    • DESTROYED_OK_FIELD_NUMBER

      public static final int DESTROYED_OK_FIELD_NUMBER
      See Also:
    • CONTAINER_ID_FIELD_NUMBER

      public static final int CONTAINER_ID_FIELD_NUMBER
      See Also:
    • CONTAINER_NAME_FIELD_NUMBER

      public static final int CONTAINER_NAME_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 instance which this call targets.
       
      string instance_id = 1;
      Specified by:
      getInstanceId in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       The ID of instance which this call targets.
       
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • getDestroyedOk

      public boolean getDestroyedOk()
       If set to true, we don't fail the request if the instance is destroyed while waiting.
       
      bool destroyed_ok = 2;
      Specified by:
      getDestroyedOk in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The destroyedOk.
    • getContainerId

      public String getContainerId()
       The ID of the container to wait for. This is the Namespace-allocated ID
       returned when a container is created.
       
      string container_id = 3;
      Specified by:
      getContainerId in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The containerId.
    • getContainerIdBytes

      public com.google.protobuf.ByteString getContainerIdBytes()
       The ID of the container to wait for. This is the Namespace-allocated ID
       returned when a container is created.
       
      string container_id = 3;
      Specified by:
      getContainerIdBytes in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The bytes for containerId.
    • getContainerName

      public String getContainerName()
       The name of the container to wait for. This is the user-specified name
       provided in ContainerRequest.name during instance creation or StartContainers.
       If both container_id and container_name are set, container_name takes precedence.
       
      string container_name = 4;
      Specified by:
      getContainerName in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The containerName.
    • getContainerNameBytes

      public com.google.protobuf.ByteString getContainerNameBytes()
       The name of the container to wait for. This is the user-specified name
       provided in ContainerRequest.name during instance creation or StartContainers.
       If both container_id and container_name are set, container_name takes precedence.
       
      string container_name = 4;
      Specified by:
      getContainerNameBytes in interface Compute.WaitInstanceRequestOrBuilder
      Returns:
      The bytes for containerName.
    • 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.WaitInstanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Compute.WaitInstanceRequest 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.WaitInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static Compute.WaitInstanceRequest.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.WaitInstanceRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Compute.WaitInstanceRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Compute.WaitInstanceRequest> 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.WaitInstanceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder