Class ListDataPoliciesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDataPoliciesResponse.Builder>
com.google.cloud.bigquery.datapolicies.v1.ListDataPoliciesResponse.Builder
All Implemented Interfaces:
ListDataPoliciesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListDataPoliciesResponse

public static final class ListDataPoliciesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDataPoliciesResponse.Builder> implements ListDataPoliciesResponseOrBuilder
 Response message for the ListDataPolicies method.
 
Protobuf type google.cloud.bigquery.datapolicies.v1.ListDataPoliciesResponse
  • 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<ListDataPoliciesResponse.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<ListDataPoliciesResponse.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<ListDataPoliciesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDataPoliciesResponse.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<ListDataPoliciesResponse.Builder>
      Throws:
      IOException
    • getDataPoliciesList

      public List<DataPolicy> getDataPoliciesList()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
      Specified by:
      getDataPoliciesList in interface ListDataPoliciesResponseOrBuilder
    • getDataPoliciesCount

      public int getDataPoliciesCount()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
      Specified by:
      getDataPoliciesCount in interface ListDataPoliciesResponseOrBuilder
    • getDataPolicies

      public DataPolicy getDataPolicies(int index)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
      Specified by:
      getDataPolicies in interface ListDataPoliciesResponseOrBuilder
    • setDataPolicies

      public ListDataPoliciesResponse.Builder setDataPolicies(int index, DataPolicy value)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • setDataPolicies

      public ListDataPoliciesResponse.Builder setDataPolicies(int index, DataPolicy.Builder builderForValue)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addDataPolicies

      public ListDataPoliciesResponse.Builder addDataPolicies(DataPolicy value)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addDataPolicies

      public ListDataPoliciesResponse.Builder addDataPolicies(int index, DataPolicy value)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addDataPolicies

      public ListDataPoliciesResponse.Builder addDataPolicies(DataPolicy.Builder builderForValue)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addDataPolicies

      public ListDataPoliciesResponse.Builder addDataPolicies(int index, DataPolicy.Builder builderForValue)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addAllDataPolicies

      public ListDataPoliciesResponse.Builder addAllDataPolicies(Iterable<? extends DataPolicy> values)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • clearDataPolicies

      public ListDataPoliciesResponse.Builder clearDataPolicies()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • removeDataPolicies

      public ListDataPoliciesResponse.Builder removeDataPolicies(int index)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • getDataPoliciesBuilder

      public DataPolicy.Builder getDataPoliciesBuilder(int index)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • getDataPoliciesOrBuilder

      public DataPolicyOrBuilder getDataPoliciesOrBuilder(int index)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
      Specified by:
      getDataPoliciesOrBuilder in interface ListDataPoliciesResponseOrBuilder
    • getDataPoliciesOrBuilderList

      public List<? extends DataPolicyOrBuilder> getDataPoliciesOrBuilderList()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
      Specified by:
      getDataPoliciesOrBuilderList in interface ListDataPoliciesResponseOrBuilder
    • addDataPoliciesBuilder

      public DataPolicy.Builder addDataPoliciesBuilder()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • addDataPoliciesBuilder

      public DataPolicy.Builder addDataPoliciesBuilder(int index)
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • getDataPoliciesBuilderList

      public List<DataPolicy.Builder> getDataPoliciesBuilderList()
       Data policies that belong to the requested project.
       
      repeated .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policies = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token used to retrieve the next page of results, or empty if there are no
       more results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDataPoliciesResponseOrBuilder
      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.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDataPoliciesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

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

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