Class ListPolicyTagsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPolicyTagsResponse.Builder>
com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder
All Implemented Interfaces:
ListPolicyTagsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListPolicyTagsResponse

public static final class ListPolicyTagsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPolicyTagsResponse.Builder> implements ListPolicyTagsResponseOrBuilder
 Response message for
 [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
 
Protobuf type google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse
  • 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<ListPolicyTagsResponse.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<ListPolicyTagsResponse.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<ListPolicyTagsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListPolicyTagsResponse.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<ListPolicyTagsResponse.Builder>
      Throws:
      IOException
    • getPolicyTagsList

      public List<PolicyTag> getPolicyTagsList()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
      Specified by:
      getPolicyTagsList in interface ListPolicyTagsResponseOrBuilder
    • getPolicyTagsCount

      public int getPolicyTagsCount()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
      Specified by:
      getPolicyTagsCount in interface ListPolicyTagsResponseOrBuilder
    • getPolicyTags

      public PolicyTag getPolicyTags(int index)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
      Specified by:
      getPolicyTags in interface ListPolicyTagsResponseOrBuilder
    • setPolicyTags

      public ListPolicyTagsResponse.Builder setPolicyTags(int index, PolicyTag value)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • setPolicyTags

      public ListPolicyTagsResponse.Builder setPolicyTags(int index, PolicyTag.Builder builderForValue)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addPolicyTags

      public ListPolicyTagsResponse.Builder addPolicyTags(PolicyTag value)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addPolicyTags

      public ListPolicyTagsResponse.Builder addPolicyTags(int index, PolicyTag value)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addPolicyTags

      public ListPolicyTagsResponse.Builder addPolicyTags(PolicyTag.Builder builderForValue)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addPolicyTags

      public ListPolicyTagsResponse.Builder addPolicyTags(int index, PolicyTag.Builder builderForValue)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addAllPolicyTags

      public ListPolicyTagsResponse.Builder addAllPolicyTags(Iterable<? extends PolicyTag> values)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • clearPolicyTags

      public ListPolicyTagsResponse.Builder clearPolicyTags()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • removePolicyTags

      public ListPolicyTagsResponse.Builder removePolicyTags(int index)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • getPolicyTagsBuilder

      public PolicyTag.Builder getPolicyTagsBuilder(int index)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • getPolicyTagsOrBuilder

      public PolicyTagOrBuilder getPolicyTagsOrBuilder(int index)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
      Specified by:
      getPolicyTagsOrBuilder in interface ListPolicyTagsResponseOrBuilder
    • getPolicyTagsOrBuilderList

      public List<? extends PolicyTagOrBuilder> getPolicyTagsOrBuilderList()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
      Specified by:
      getPolicyTagsOrBuilderList in interface ListPolicyTagsResponseOrBuilder
    • addPolicyTagsBuilder

      public PolicyTag.Builder addPolicyTagsBuilder()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • addPolicyTagsBuilder

      public PolicyTag.Builder addPolicyTagsBuilder(int index)
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • getPolicyTagsBuilderList

      public List<PolicyTag.Builder> getPolicyTagsBuilderList()
       The policy tags that are in the requested taxonomy.
       
      repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token used to retrieve the next page of results, or empty if there are no
       more results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListPolicyTagsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token used to retrieve the next page of results, or empty if there are no
       more results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListPolicyTagsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPolicyTagsResponse.Builder setNextPageToken(String value)
       Token used to retrieve the next page of results, or empty if there are no
       more results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListPolicyTagsResponse.Builder clearNextPageToken()
       Token used to retrieve the next page of results, or empty if there are no
       more results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListPolicyTagsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token used to retrieve the next page of results, or empty if there are no
       more results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.