Class ListDataProductsResponse.Builder

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

public static final class ListDataProductsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDataProductsResponse.Builder> implements ListDataProductsResponseOrBuilder
 Response message for listing data products.
 
Protobuf type google.cloud.dataplex.v1.ListDataProductsResponse
  • 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<ListDataProductsResponse.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<ListDataProductsResponse.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<ListDataProductsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDataProductsResponse.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<ListDataProductsResponse.Builder>
      Throws:
      IOException
    • getDataProductsList

      public List<DataProduct> getDataProductsList()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
      Specified by:
      getDataProductsList in interface ListDataProductsResponseOrBuilder
    • getDataProductsCount

      public int getDataProductsCount()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
      Specified by:
      getDataProductsCount in interface ListDataProductsResponseOrBuilder
    • getDataProducts

      public DataProduct getDataProducts(int index)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
      Specified by:
      getDataProducts in interface ListDataProductsResponseOrBuilder
    • setDataProducts

      public ListDataProductsResponse.Builder setDataProducts(int index, DataProduct value)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • setDataProducts

      public ListDataProductsResponse.Builder setDataProducts(int index, DataProduct.Builder builderForValue)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addDataProducts

      public ListDataProductsResponse.Builder addDataProducts(DataProduct value)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addDataProducts

      public ListDataProductsResponse.Builder addDataProducts(int index, DataProduct value)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addDataProducts

      public ListDataProductsResponse.Builder addDataProducts(DataProduct.Builder builderForValue)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addDataProducts

      public ListDataProductsResponse.Builder addDataProducts(int index, DataProduct.Builder builderForValue)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addAllDataProducts

      public ListDataProductsResponse.Builder addAllDataProducts(Iterable<? extends DataProduct> values)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • clearDataProducts

      public ListDataProductsResponse.Builder clearDataProducts()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • removeDataProducts

      public ListDataProductsResponse.Builder removeDataProducts(int index)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • getDataProductsBuilder

      public DataProduct.Builder getDataProductsBuilder(int index)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • getDataProductsOrBuilder

      public DataProductOrBuilder getDataProductsOrBuilder(int index)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
      Specified by:
      getDataProductsOrBuilder in interface ListDataProductsResponseOrBuilder
    • getDataProductsOrBuilderList

      public List<? extends DataProductOrBuilder> getDataProductsOrBuilderList()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
      Specified by:
      getDataProductsOrBuilderList in interface ListDataProductsResponseOrBuilder
    • addDataProductsBuilder

      public DataProduct.Builder addDataProductsBuilder()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • addDataProductsBuilder

      public DataProduct.Builder addDataProductsBuilder(int index)
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • getDataProductsBuilderList

      public List<DataProduct.Builder> getDataProductsBuilderList()
       The data products for the requested filter criteria.
       
      repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is empty, then there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDataProductsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is empty, then there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDataProductsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDataProductsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is empty, then there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDataProductsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is empty, then there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDataProductsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is empty, then there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableList in interface ListDataProductsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableCount in interface ListDataProductsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachable in interface ListDataProductsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableBytes in interface ListDataProductsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDataProductsResponse.Builder setUnreachable(int index, String value)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListDataProductsResponse.Builder addUnreachable(String value)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDataProductsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDataProductsResponse.Builder clearUnreachable()
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDataProductsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unordered list. Locations that the service couldn't reach.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.