Class ListTagHoldsResponse.Builder

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

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

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

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

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

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

      public ListTagHoldsResponse.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<ListTagHoldsResponse.Builder>
      Throws:
      IOException
    • getTagHoldsList

      public List<TagHold> getTagHoldsList()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
      Specified by:
      getTagHoldsList in interface ListTagHoldsResponseOrBuilder
    • getTagHoldsCount

      public int getTagHoldsCount()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
      Specified by:
      getTagHoldsCount in interface ListTagHoldsResponseOrBuilder
    • getTagHolds

      public TagHold getTagHolds(int index)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
      Specified by:
      getTagHolds in interface ListTagHoldsResponseOrBuilder
    • setTagHolds

      public ListTagHoldsResponse.Builder setTagHolds(int index, TagHold value)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • setTagHolds

      public ListTagHoldsResponse.Builder setTagHolds(int index, TagHold.Builder builderForValue)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addTagHolds

      public ListTagHoldsResponse.Builder addTagHolds(TagHold value)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addTagHolds

      public ListTagHoldsResponse.Builder addTagHolds(int index, TagHold value)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addTagHolds

      public ListTagHoldsResponse.Builder addTagHolds(TagHold.Builder builderForValue)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addTagHolds

      public ListTagHoldsResponse.Builder addTagHolds(int index, TagHold.Builder builderForValue)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addAllTagHolds

      public ListTagHoldsResponse.Builder addAllTagHolds(Iterable<? extends TagHold> values)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • clearTagHolds

      public ListTagHoldsResponse.Builder clearTagHolds()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • removeTagHolds

      public ListTagHoldsResponse.Builder removeTagHolds(int index)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • getTagHoldsBuilder

      public TagHold.Builder getTagHoldsBuilder(int index)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • getTagHoldsOrBuilder

      public TagHoldOrBuilder getTagHoldsOrBuilder(int index)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
      Specified by:
      getTagHoldsOrBuilder in interface ListTagHoldsResponseOrBuilder
    • getTagHoldsOrBuilderList

      public List<? extends TagHoldOrBuilder> getTagHoldsOrBuilderList()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
      Specified by:
      getTagHoldsOrBuilderList in interface ListTagHoldsResponseOrBuilder
    • addTagHoldsBuilder

      public TagHold.Builder addTagHoldsBuilder()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • addTagHoldsBuilder

      public TagHold.Builder addTagHoldsBuilder(int index)
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;
    • getTagHoldsBuilderList

      public List<TagHold.Builder> getTagHoldsBuilderList()
       A possibly paginated list of TagHolds.
       
      repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 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 ListTagHoldsResponseOrBuilder
      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 ListTagHoldsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTagHoldsResponse.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 ListTagHoldsResponse.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 ListTagHoldsResponse.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.