Class Compute.ReleaseUniqueTagRequest.Builder

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

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

      public Compute.ReleaseUniqueTagRequest 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.ReleaseUniqueTagRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Compute.ReleaseUniqueTagRequest.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.ReleaseUniqueTagRequest.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.ReleaseUniqueTagRequest.Builder>
    • mergeFrom

      public Compute.ReleaseUniqueTagRequest.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.ReleaseUniqueTagRequest.Builder>
      Throws:
      IOException
    • getUniqueTag

      public String getUniqueTag()
       The name of the unique tag to release.
       
      string unique_tag = 1;
      Specified by:
      getUniqueTag in interface Compute.ReleaseUniqueTagRequestOrBuilder
      Returns:
      The uniqueTag.
    • getUniqueTagBytes

      public com.google.protobuf.ByteString getUniqueTagBytes()
       The name of the unique tag to release.
       
      string unique_tag = 1;
      Specified by:
      getUniqueTagBytes in interface Compute.ReleaseUniqueTagRequestOrBuilder
      Returns:
      The bytes for uniqueTag.
    • setUniqueTag

      public Compute.ReleaseUniqueTagRequest.Builder setUniqueTag(String value)
       The name of the unique tag to release.
       
      string unique_tag = 1;
      Parameters:
      value - The uniqueTag to set.
      Returns:
      This builder for chaining.
    • clearUniqueTag

      public Compute.ReleaseUniqueTagRequest.Builder clearUniqueTag()
       The name of the unique tag to release.
       
      string unique_tag = 1;
      Returns:
      This builder for chaining.
    • setUniqueTagBytes

      public Compute.ReleaseUniqueTagRequest.Builder setUniqueTagBytes(com.google.protobuf.ByteString value)
       The name of the unique tag to release.
       
      string unique_tag = 1;
      Parameters:
      value - The bytes for uniqueTag to set.
      Returns:
      This builder for chaining.
    • hasIfInstanceId

      public boolean hasIfInstanceId()
       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
      Specified by:
      hasIfInstanceId in interface Compute.ReleaseUniqueTagRequestOrBuilder
      Returns:
      Whether the ifInstanceId field is set.
    • getIfInstanceId

      public Matchers.StringMatcher getIfInstanceId()
       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
      Specified by:
      getIfInstanceId in interface Compute.ReleaseUniqueTagRequestOrBuilder
      Returns:
      The ifInstanceId.
    • setIfInstanceId

       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
    • setIfInstanceId

       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
    • mergeIfInstanceId

       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
    • clearIfInstanceId

      public Compute.ReleaseUniqueTagRequest.Builder clearIfInstanceId()
       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
    • getIfInstanceIdBuilder

      public Matchers.StringMatcher.Builder getIfInstanceIdBuilder()
       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
    • getIfInstanceIdOrBuilder

      public Matchers.StringMatcherOrBuilder getIfInstanceIdOrBuilder()
       If set, only release the unique tag if the currently associated instance ID matches this constraint.
      
       When running a container with `nsc_state_path` set, the parent instance ID is available via the environment variable NSC_INSTANCE_ID.
       
      .namespace.stdlib.StringMatcher if_instance_id = 2;
      Specified by:
      getIfInstanceIdOrBuilder in interface Compute.ReleaseUniqueTagRequestOrBuilder