Class GetGuestAttributesResponse.Builder

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

public static final class GetGuestAttributesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesResponse.Builder> implements GetGuestAttributesResponseOrBuilder
 Response for
 [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
 
Protobuf type google.cloud.tpu.v2.GetGuestAttributesResponse
  • 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<GetGuestAttributesResponse.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<GetGuestAttributesResponse.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<GetGuestAttributesResponse.Builder>
    • getDefaultInstanceForType

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

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

      public GetGuestAttributesResponse.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<GetGuestAttributesResponse.Builder>
      Throws:
      IOException
    • getGuestAttributesList

      public List<GuestAttributes> getGuestAttributesList()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
      Specified by:
      getGuestAttributesList in interface GetGuestAttributesResponseOrBuilder
    • getGuestAttributesCount

      public int getGuestAttributesCount()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
      Specified by:
      getGuestAttributesCount in interface GetGuestAttributesResponseOrBuilder
    • getGuestAttributes

      public GuestAttributes getGuestAttributes(int index)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
      Specified by:
      getGuestAttributes in interface GetGuestAttributesResponseOrBuilder
    • setGuestAttributes

      public GetGuestAttributesResponse.Builder setGuestAttributes(int index, GuestAttributes value)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • setGuestAttributes

      public GetGuestAttributesResponse.Builder setGuestAttributes(int index, GuestAttributes.Builder builderForValue)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addGuestAttributes

      public GetGuestAttributesResponse.Builder addGuestAttributes(GuestAttributes value)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addGuestAttributes

      public GetGuestAttributesResponse.Builder addGuestAttributes(int index, GuestAttributes value)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addGuestAttributes

      public GetGuestAttributesResponse.Builder addGuestAttributes(GuestAttributes.Builder builderForValue)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addGuestAttributes

      public GetGuestAttributesResponse.Builder addGuestAttributes(int index, GuestAttributes.Builder builderForValue)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addAllGuestAttributes

      public GetGuestAttributesResponse.Builder addAllGuestAttributes(Iterable<? extends GuestAttributes> values)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • clearGuestAttributes

      public GetGuestAttributesResponse.Builder clearGuestAttributes()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • removeGuestAttributes

      public GetGuestAttributesResponse.Builder removeGuestAttributes(int index)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • getGuestAttributesBuilder

      public GuestAttributes.Builder getGuestAttributesBuilder(int index)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • getGuestAttributesOrBuilder

      public GuestAttributesOrBuilder getGuestAttributesOrBuilder(int index)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
      Specified by:
      getGuestAttributesOrBuilder in interface GetGuestAttributesResponseOrBuilder
    • getGuestAttributesOrBuilderList

      public List<? extends GuestAttributesOrBuilder> getGuestAttributesOrBuilderList()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
      Specified by:
      getGuestAttributesOrBuilderList in interface GetGuestAttributesResponseOrBuilder
    • addGuestAttributesBuilder

      public GuestAttributes.Builder addGuestAttributesBuilder()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • addGuestAttributesBuilder

      public GuestAttributes.Builder addGuestAttributesBuilder(int index)
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
    • getGuestAttributesBuilderList

      public List<GuestAttributes.Builder> getGuestAttributesBuilderList()
       The guest attributes for the TPU workers.
       
      repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;