Class ListTagKeysResponse.Builder

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

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

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

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

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

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

      public ListTagKeysResponse.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<ListTagKeysResponse.Builder>
      Throws:
      IOException
    • getTagKeysList

      public List<TagKey> getTagKeysList()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
      Specified by:
      getTagKeysList in interface ListTagKeysResponseOrBuilder
    • getTagKeysCount

      public int getTagKeysCount()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
      Specified by:
      getTagKeysCount in interface ListTagKeysResponseOrBuilder
    • getTagKeys

      public TagKey getTagKeys(int index)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
      Specified by:
      getTagKeys in interface ListTagKeysResponseOrBuilder
    • setTagKeys

      public ListTagKeysResponse.Builder setTagKeys(int index, TagKey value)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • setTagKeys

      public ListTagKeysResponse.Builder setTagKeys(int index, TagKey.Builder builderForValue)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addTagKeys

      public ListTagKeysResponse.Builder addTagKeys(TagKey value)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addTagKeys

      public ListTagKeysResponse.Builder addTagKeys(int index, TagKey value)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addTagKeys

      public ListTagKeysResponse.Builder addTagKeys(TagKey.Builder builderForValue)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addTagKeys

      public ListTagKeysResponse.Builder addTagKeys(int index, TagKey.Builder builderForValue)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addAllTagKeys

      public ListTagKeysResponse.Builder addAllTagKeys(Iterable<? extends TagKey> values)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • clearTagKeys

      public ListTagKeysResponse.Builder clearTagKeys()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • removeTagKeys

      public ListTagKeysResponse.Builder removeTagKeys(int index)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • getTagKeysBuilder

      public TagKey.Builder getTagKeysBuilder(int index)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • getTagKeysOrBuilder

      public TagKeyOrBuilder getTagKeysOrBuilder(int index)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
      Specified by:
      getTagKeysOrBuilder in interface ListTagKeysResponseOrBuilder
    • getTagKeysOrBuilderList

      public List<? extends TagKeyOrBuilder> getTagKeysOrBuilderList()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
      Specified by:
      getTagKeysOrBuilderList in interface ListTagKeysResponseOrBuilder
    • addTagKeysBuilder

      public TagKey.Builder addTagKeysBuilder()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • addTagKeysBuilder

      public TagKey.Builder addTagKeysBuilder(int index)
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • getTagKeysBuilderList

      public List<TagKey.Builder> getTagKeysBuilderList()
       List of TagKeys that live under the specified parent in the request.
       
      repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
    • getNextPageToken

      public String getNextPageToken()
       A pagination token returned from a previous call to `ListTagKeys`
       that indicates from where listing should continue.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTagKeysResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A pagination token returned from a previous call to `ListTagKeys`
       that indicates from where listing should continue.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTagKeysResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTagKeysResponse.Builder setNextPageToken(String value)
       A pagination token returned from a previous call to `ListTagKeys`
       that indicates from where listing should continue.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTagKeysResponse.Builder clearNextPageToken()
       A pagination token returned from a previous call to `ListTagKeys`
       that indicates from where listing should continue.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTagKeysResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A pagination token returned from a previous call to `ListTagKeys`
       that indicates from where listing should continue.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.