Class GuestAttributesValue.Builder

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

public static final class GuestAttributesValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<GuestAttributesValue.Builder> implements GuestAttributesValueOrBuilder
 Array of guest attribute namespace/key/value tuples.
 
Protobuf type google.cloud.tpu.v2.GuestAttributesValue
  • 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<GuestAttributesValue.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<GuestAttributesValue.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<GuestAttributesValue.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GuestAttributesValue.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<GuestAttributesValue.Builder>
      Throws:
      IOException
    • getItemsList

      public List<GuestAttributesEntry> getItemsList()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
      Specified by:
      getItemsList in interface GuestAttributesValueOrBuilder
    • getItemsCount

      public int getItemsCount()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
      Specified by:
      getItemsCount in interface GuestAttributesValueOrBuilder
    • getItems

      public GuestAttributesEntry getItems(int index)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
      Specified by:
      getItems in interface GuestAttributesValueOrBuilder
    • setItems

      public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry value)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • setItems

      public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry.Builder builderForValue)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addItems

       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addItems

      public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry value)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addItems

       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addItems

      public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry.Builder builderForValue)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addAllItems

      public GuestAttributesValue.Builder addAllItems(Iterable<? extends GuestAttributesEntry> values)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • clearItems

      public GuestAttributesValue.Builder clearItems()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • removeItems

      public GuestAttributesValue.Builder removeItems(int index)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • getItemsBuilder

      public GuestAttributesEntry.Builder getItemsBuilder(int index)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • getItemsOrBuilder

      public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
      Specified by:
      getItemsOrBuilder in interface GuestAttributesValueOrBuilder
    • getItemsOrBuilderList

      public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
      Specified by:
      getItemsOrBuilderList in interface GuestAttributesValueOrBuilder
    • addItemsBuilder

      public GuestAttributesEntry.Builder addItemsBuilder()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • addItemsBuilder

      public GuestAttributesEntry.Builder addItemsBuilder(int index)
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
    • getItemsBuilderList

      public List<GuestAttributesEntry.Builder> getItemsBuilderList()
       The list of guest attributes entries.
       
      repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;