Class Compute.WaitInstanceRequest.Builder

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

public static final class Compute.WaitInstanceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder> implements Compute.WaitInstanceRequestOrBuilder
Protobuf type namespace.cloud.compute.v1beta.WaitInstanceRequest
  • 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.Builder<Compute.WaitInstanceRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Compute.WaitInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.WaitInstanceRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
    • mergeFrom

      public Compute.WaitInstanceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.WaitInstanceRequest.Builder>
      Throws:
      IOException
    • 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.
    • setInstanceId

      public Compute.WaitInstanceRequest.Builder setInstanceId(String value)
       The ID of instance which this call targets.
       
      string instance_id = 1;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public Compute.WaitInstanceRequest.Builder clearInstanceId()
       The ID of instance which this call targets.
       
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public Compute.WaitInstanceRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       The ID of instance which this call targets.
       
      string instance_id = 1;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDestroyedOk

      public Compute.WaitInstanceRequest.Builder setDestroyedOk(boolean value)
       If set to true, we don't fail the request if the instance is destroyed while waiting.
       
      bool destroyed_ok = 2;
      Parameters:
      value - The destroyedOk to set.
      Returns:
      This builder for chaining.
    • clearDestroyedOk

      public Compute.WaitInstanceRequest.Builder clearDestroyedOk()
       If set to true, we don't fail the request if the instance is destroyed while waiting.
       
      bool destroyed_ok = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setContainerId

      public Compute.WaitInstanceRequest.Builder setContainerId(String value)
       The ID of the container to wait for. This is the Namespace-allocated ID
       returned when a container is created.
       
      string container_id = 3;
      Parameters:
      value - The containerId to set.
      Returns:
      This builder for chaining.
    • clearContainerId

      public Compute.WaitInstanceRequest.Builder clearContainerId()
       The ID of the container to wait for. This is the Namespace-allocated ID
       returned when a container is created.
       
      string container_id = 3;
      Returns:
      This builder for chaining.
    • setContainerIdBytes

      public Compute.WaitInstanceRequest.Builder setContainerIdBytes(com.google.protobuf.ByteString value)
       The ID of the container to wait for. This is the Namespace-allocated ID
       returned when a container is created.
       
      string container_id = 3;
      Parameters:
      value - The bytes for containerId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setContainerName

      public Compute.WaitInstanceRequest.Builder setContainerName(String value)
       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;
      Parameters:
      value - The containerName to set.
      Returns:
      This builder for chaining.
    • clearContainerName

      public Compute.WaitInstanceRequest.Builder clearContainerName()
       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;
      Returns:
      This builder for chaining.
    • setContainerNameBytes

      public Compute.WaitInstanceRequest.Builder setContainerNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for containerName to set.
      Returns:
      This builder for chaining.