Class SearchDataItemsResponse.Builder

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

public static final class SearchDataItemsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchDataItemsResponse.Builder> implements SearchDataItemsResponseOrBuilder
 Response message for
 [DatasetService.SearchDataItems][google.cloud.aiplatform.v1.DatasetService.SearchDataItems].
 
Protobuf type google.cloud.aiplatform.v1.SearchDataItemsResponse
  • 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<SearchDataItemsResponse.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<SearchDataItemsResponse.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<SearchDataItemsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SearchDataItemsResponse.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<SearchDataItemsResponse.Builder>
      Throws:
      IOException
    • getDataItemViewsList

      public List<DataItemView> getDataItemViewsList()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
      Specified by:
      getDataItemViewsList in interface SearchDataItemsResponseOrBuilder
    • getDataItemViewsCount

      public int getDataItemViewsCount()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
      Specified by:
      getDataItemViewsCount in interface SearchDataItemsResponseOrBuilder
    • getDataItemViews

      public DataItemView getDataItemViews(int index)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
      Specified by:
      getDataItemViews in interface SearchDataItemsResponseOrBuilder
    • setDataItemViews

      public SearchDataItemsResponse.Builder setDataItemViews(int index, DataItemView value)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • setDataItemViews

      public SearchDataItemsResponse.Builder setDataItemViews(int index, DataItemView.Builder builderForValue)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addDataItemViews

      public SearchDataItemsResponse.Builder addDataItemViews(DataItemView value)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addDataItemViews

      public SearchDataItemsResponse.Builder addDataItemViews(int index, DataItemView value)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addDataItemViews

      public SearchDataItemsResponse.Builder addDataItemViews(DataItemView.Builder builderForValue)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addDataItemViews

      public SearchDataItemsResponse.Builder addDataItemViews(int index, DataItemView.Builder builderForValue)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addAllDataItemViews

      public SearchDataItemsResponse.Builder addAllDataItemViews(Iterable<? extends DataItemView> values)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • clearDataItemViews

      public SearchDataItemsResponse.Builder clearDataItemViews()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • removeDataItemViews

      public SearchDataItemsResponse.Builder removeDataItemViews(int index)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • getDataItemViewsBuilder

      public DataItemView.Builder getDataItemViewsBuilder(int index)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • getDataItemViewsOrBuilder

      public DataItemViewOrBuilder getDataItemViewsOrBuilder(int index)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
      Specified by:
      getDataItemViewsOrBuilder in interface SearchDataItemsResponseOrBuilder
    • getDataItemViewsOrBuilderList

      public List<? extends DataItemViewOrBuilder> getDataItemViewsOrBuilderList()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
      Specified by:
      getDataItemViewsOrBuilderList in interface SearchDataItemsResponseOrBuilder
    • addDataItemViewsBuilder

      public DataItemView.Builder addDataItemViewsBuilder()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • addDataItemViewsBuilder

      public DataItemView.Builder addDataItemViewsBuilder(int index)
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • getDataItemViewsBuilderList

      public List<DataItemView.Builder> getDataItemViewsBuilderList()
       The DataItemViews read.
       
      repeated .google.cloud.aiplatform.v1.DataItemView data_item_views = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [SearchDataItemsRequest.page_token][google.cloud.aiplatform.v1.SearchDataItemsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface SearchDataItemsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       Pass to
       [SearchDataItemsRequest.page_token][google.cloud.aiplatform.v1.SearchDataItemsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface SearchDataItemsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchDataItemsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       Pass to
       [SearchDataItemsRequest.page_token][google.cloud.aiplatform.v1.SearchDataItemsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public SearchDataItemsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [SearchDataItemsRequest.page_token][google.cloud.aiplatform.v1.SearchDataItemsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public SearchDataItemsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       Pass to
       [SearchDataItemsRequest.page_token][google.cloud.aiplatform.v1.SearchDataItemsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.