Class ListEffectiveTagsResponse.Builder

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

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

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

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

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

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

      public ListEffectiveTagsResponse.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<ListEffectiveTagsResponse.Builder>
      Throws:
      IOException
    • getEffectiveTagsList

      public List<EffectiveTag> getEffectiveTagsList()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
      Specified by:
      getEffectiveTagsList in interface ListEffectiveTagsResponseOrBuilder
    • getEffectiveTagsCount

      public int getEffectiveTagsCount()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
      Specified by:
      getEffectiveTagsCount in interface ListEffectiveTagsResponseOrBuilder
    • getEffectiveTags

      public EffectiveTag getEffectiveTags(int index)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
      Specified by:
      getEffectiveTags in interface ListEffectiveTagsResponseOrBuilder
    • setEffectiveTags

      public ListEffectiveTagsResponse.Builder setEffectiveTags(int index, EffectiveTag value)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • setEffectiveTags

      public ListEffectiveTagsResponse.Builder setEffectiveTags(int index, EffectiveTag.Builder builderForValue)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addEffectiveTags

      public ListEffectiveTagsResponse.Builder addEffectiveTags(EffectiveTag value)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addEffectiveTags

      public ListEffectiveTagsResponse.Builder addEffectiveTags(int index, EffectiveTag value)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addEffectiveTags

      public ListEffectiveTagsResponse.Builder addEffectiveTags(EffectiveTag.Builder builderForValue)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addEffectiveTags

      public ListEffectiveTagsResponse.Builder addEffectiveTags(int index, EffectiveTag.Builder builderForValue)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addAllEffectiveTags

      public ListEffectiveTagsResponse.Builder addAllEffectiveTags(Iterable<? extends EffectiveTag> values)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • clearEffectiveTags

      public ListEffectiveTagsResponse.Builder clearEffectiveTags()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • removeEffectiveTags

      public ListEffectiveTagsResponse.Builder removeEffectiveTags(int index)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • getEffectiveTagsBuilder

      public EffectiveTag.Builder getEffectiveTagsBuilder(int index)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • getEffectiveTagsOrBuilder

      public EffectiveTagOrBuilder getEffectiveTagsOrBuilder(int index)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
      Specified by:
      getEffectiveTagsOrBuilder in interface ListEffectiveTagsResponseOrBuilder
    • getEffectiveTagsOrBuilderList

      public List<? extends EffectiveTagOrBuilder> getEffectiveTagsOrBuilderList()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
      Specified by:
      getEffectiveTagsOrBuilderList in interface ListEffectiveTagsResponseOrBuilder
    • addEffectiveTagsBuilder

      public EffectiveTag.Builder addEffectiveTagsBuilder()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • addEffectiveTagsBuilder

      public EffectiveTag.Builder addEffectiveTagsBuilder(int index)
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;
    • getEffectiveTagsBuilderList

      public List<EffectiveTag.Builder> getEffectiveTagsBuilderList()
       A possibly paginated list of effective tags for the specified resource.
       
      repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 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 ListEffectiveTagsResponseOrBuilder
      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 ListEffectiveTagsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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