Class ListTagBindingsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTagBindingsResponse.Builder>
com.google.cloud.resourcemanager.v3.ListTagBindingsResponse.Builder
All Implemented Interfaces:
ListTagBindingsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListTagBindingsResponse

public static final class ListTagBindingsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTagBindingsResponse.Builder> implements ListTagBindingsResponseOrBuilder
 The ListTagBindings response.
 
Protobuf type google.cloud.resourcemanager.v3.ListTagBindingsResponse
  • 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<ListTagBindingsResponse.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<ListTagBindingsResponse.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<ListTagBindingsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListTagBindingsResponse.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<ListTagBindingsResponse.Builder>
      Throws:
      IOException
    • getTagBindingsList

      public List<TagBinding> getTagBindingsList()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
      Specified by:
      getTagBindingsList in interface ListTagBindingsResponseOrBuilder
    • getTagBindingsCount

      public int getTagBindingsCount()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
      Specified by:
      getTagBindingsCount in interface ListTagBindingsResponseOrBuilder
    • getTagBindings

      public TagBinding getTagBindings(int index)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
      Specified by:
      getTagBindings in interface ListTagBindingsResponseOrBuilder
    • setTagBindings

      public ListTagBindingsResponse.Builder setTagBindings(int index, TagBinding value)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • setTagBindings

      public ListTagBindingsResponse.Builder setTagBindings(int index, TagBinding.Builder builderForValue)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addTagBindings

      public ListTagBindingsResponse.Builder addTagBindings(TagBinding value)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addTagBindings

      public ListTagBindingsResponse.Builder addTagBindings(int index, TagBinding value)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addTagBindings

      public ListTagBindingsResponse.Builder addTagBindings(TagBinding.Builder builderForValue)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addTagBindings

      public ListTagBindingsResponse.Builder addTagBindings(int index, TagBinding.Builder builderForValue)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addAllTagBindings

      public ListTagBindingsResponse.Builder addAllTagBindings(Iterable<? extends TagBinding> values)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • clearTagBindings

      public ListTagBindingsResponse.Builder clearTagBindings()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • removeTagBindings

      public ListTagBindingsResponse.Builder removeTagBindings(int index)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • getTagBindingsBuilder

      public TagBinding.Builder getTagBindingsBuilder(int index)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • getTagBindingsOrBuilder

      public TagBindingOrBuilder getTagBindingsOrBuilder(int index)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
      Specified by:
      getTagBindingsOrBuilder in interface ListTagBindingsResponseOrBuilder
    • getTagBindingsOrBuilderList

      public List<? extends TagBindingOrBuilder> getTagBindingsOrBuilderList()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
      Specified by:
      getTagBindingsOrBuilderList in interface ListTagBindingsResponseOrBuilder
    • addTagBindingsBuilder

      public TagBinding.Builder addTagBindingsBuilder()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • addTagBindingsBuilder

      public TagBinding.Builder addTagBindingsBuilder(int index)
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • getTagBindingsBuilderList

      public List<TagBinding.Builder> getTagBindingsBuilderList()
       A possibly paginated list of TagBindings for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;
    • getNextPageToken

      public String getNextPageToken()
       Pagination token.
      
       If the result set is too large to fit in a single response, this token
       is returned. It encodes the position of the current result cursor.
       Feeding this value into a new list request with the `page_token` parameter
       gives the next page of the results.
      
       When `next_page_token` is not filled in, there is no next page and
       the list returned is the last page in the result set.
      
       Pagination tokens have a limited lifetime.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTagBindingsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Pagination token.
      
       If the result set is too large to fit in a single response, this token
       is returned. It encodes the position of the current result cursor.
       Feeding this value into a new list request with the `page_token` parameter
       gives the next page of the results.
      
       When `next_page_token` is not filled in, there is no next page and
       the list returned is the last page in the result set.
      
       Pagination tokens have a limited lifetime.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTagBindingsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTagBindingsResponse.Builder setNextPageToken(String value)
       Pagination token.
      
       If the result set is too large to fit in a single response, this token
       is returned. It encodes the position of the current result cursor.
       Feeding this value into a new list request with the `page_token` parameter
       gives the next page of the results.
      
       When `next_page_token` is not filled in, there is no next page and
       the list returned is the last page in the result set.
      
       Pagination tokens have a limited lifetime.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTagBindingsResponse.Builder clearNextPageToken()
       Pagination token.
      
       If the result set is too large to fit in a single response, this token
       is returned. It encodes the position of the current result cursor.
       Feeding this value into a new list request with the `page_token` parameter
       gives the next page of the results.
      
       When `next_page_token` is not filled in, there is no next page and
       the list returned is the last page in the result set.
      
       Pagination tokens have a limited lifetime.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTagBindingsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Pagination token.
      
       If the result set is too large to fit in a single response, this token
       is returned. It encodes the position of the current result cursor.
       Feeding this value into a new list request with the `page_token` parameter
       gives the next page of the results.
      
       When `next_page_token` is not filled in, there is no next page and
       the list returned is the last page in the result set.
      
       Pagination tokens have a limited lifetime.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.