Class GuestAttributes.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder>
com.google.cloud.tpu.v2.GuestAttributes.Builder
All Implemented Interfaces:
GuestAttributesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GuestAttributes

public static final class GuestAttributes.Builder extends com.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder> implements GuestAttributesOrBuilder
 A guest attributes.
 
Protobuf type google.cloud.tpu.v2.GuestAttributes
  • 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<GuestAttributes.Builder>
    • clear

      public GuestAttributes.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<GuestAttributes.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<GuestAttributes.Builder>
    • getDefaultInstanceForType

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

      public GuestAttributes build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public GuestAttributes.Builder mergeFrom(GuestAttributes other)
    • isInitialized

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

      public GuestAttributes.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<GuestAttributes.Builder>
      Throws:
      IOException
    • getQueryPath

      public String getQueryPath()
       The path to be queried. This can be the default namespace ('/') or a
       nested namespace ('/\<namespace\>/') or a specified key
       ('/\<namespace\>/\<key\>')
       
      string query_path = 1;
      Specified by:
      getQueryPath in interface GuestAttributesOrBuilder
      Returns:
      The queryPath.
    • getQueryPathBytes

      public com.google.protobuf.ByteString getQueryPathBytes()
       The path to be queried. This can be the default namespace ('/') or a
       nested namespace ('/\<namespace\>/') or a specified key
       ('/\<namespace\>/\<key\>')
       
      string query_path = 1;
      Specified by:
      getQueryPathBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for queryPath.
    • setQueryPath

      public GuestAttributes.Builder setQueryPath(String value)
       The path to be queried. This can be the default namespace ('/') or a
       nested namespace ('/\<namespace\>/') or a specified key
       ('/\<namespace\>/\<key\>')
       
      string query_path = 1;
      Parameters:
      value - The queryPath to set.
      Returns:
      This builder for chaining.
    • clearQueryPath

      public GuestAttributes.Builder clearQueryPath()
       The path to be queried. This can be the default namespace ('/') or a
       nested namespace ('/\<namespace\>/') or a specified key
       ('/\<namespace\>/\<key\>')
       
      string query_path = 1;
      Returns:
      This builder for chaining.
    • setQueryPathBytes

      public GuestAttributes.Builder setQueryPathBytes(com.google.protobuf.ByteString value)
       The path to be queried. This can be the default namespace ('/') or a
       nested namespace ('/\<namespace\>/') or a specified key
       ('/\<namespace\>/\<key\>')
       
      string query_path = 1;
      Parameters:
      value - The bytes for queryPath to set.
      Returns:
      This builder for chaining.
    • hasQueryValue

      public boolean hasQueryValue()
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
      Specified by:
      hasQueryValue in interface GuestAttributesOrBuilder
      Returns:
      Whether the queryValue field is set.
    • getQueryValue

      public GuestAttributesValue getQueryValue()
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
      Specified by:
      getQueryValue in interface GuestAttributesOrBuilder
      Returns:
      The queryValue.
    • setQueryValue

      public GuestAttributes.Builder setQueryValue(GuestAttributesValue value)
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
    • setQueryValue

      public GuestAttributes.Builder setQueryValue(GuestAttributesValue.Builder builderForValue)
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
    • mergeQueryValue

      public GuestAttributes.Builder mergeQueryValue(GuestAttributesValue value)
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
    • clearQueryValue

      public GuestAttributes.Builder clearQueryValue()
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
    • getQueryValueBuilder

      public GuestAttributesValue.Builder getQueryValueBuilder()
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
    • getQueryValueOrBuilder

      public GuestAttributesValueOrBuilder getQueryValueOrBuilder()
       The value of the requested queried path.
       
      .google.cloud.tpu.v2.GuestAttributesValue query_value = 2;
      Specified by:
      getQueryValueOrBuilder in interface GuestAttributesOrBuilder