Class SearchAssetsRequest.Builder

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

public static final class SearchAssetsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchAssetsRequest.Builder> implements SearchAssetsRequestOrBuilder
 Request message for SearchAssets.
 
Protobuf type google.cloud.visionai.v1.SearchAssetsRequest
  • 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<SearchAssetsRequest.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<SearchAssetsRequest.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<SearchAssetsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SearchAssetsRequest.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<SearchAssetsRequest.Builder>
      Throws:
      IOException
    • getSortSpecCase

      public SearchAssetsRequest.SortSpecCase getSortSpecCase()
      Specified by:
      getSortSpecCase in interface SearchAssetsRequestOrBuilder
    • clearSortSpec

      public SearchAssetsRequest.Builder clearSortSpec()
    • hasSchemaKeySortingStrategy

      public boolean hasSchemaKeySortingStrategy()
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
      Specified by:
      hasSchemaKeySortingStrategy in interface SearchAssetsRequestOrBuilder
      Returns:
      Whether the schemaKeySortingStrategy field is set.
    • getSchemaKeySortingStrategy

      public SchemaKeySortingStrategy getSchemaKeySortingStrategy()
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
      Specified by:
      getSchemaKeySortingStrategy in interface SearchAssetsRequestOrBuilder
      Returns:
      The schemaKeySortingStrategy.
    • setSchemaKeySortingStrategy

      public SearchAssetsRequest.Builder setSchemaKeySortingStrategy(SchemaKeySortingStrategy value)
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
    • setSchemaKeySortingStrategy

      public SearchAssetsRequest.Builder setSchemaKeySortingStrategy(SchemaKeySortingStrategy.Builder builderForValue)
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
    • mergeSchemaKeySortingStrategy

      public SearchAssetsRequest.Builder mergeSchemaKeySortingStrategy(SchemaKeySortingStrategy value)
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
    • clearSchemaKeySortingStrategy

      public SearchAssetsRequest.Builder clearSchemaKeySortingStrategy()
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
    • getSchemaKeySortingStrategyBuilder

      public SchemaKeySortingStrategy.Builder getSchemaKeySortingStrategyBuilder()
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
    • getSchemaKeySortingStrategyOrBuilder

      public SchemaKeySortingStrategyOrBuilder getSchemaKeySortingStrategyOrBuilder()
       Sort by the value under the data schema key.
       
      .google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;
      Specified by:
      getSchemaKeySortingStrategyOrBuilder in interface SearchAssetsRequestOrBuilder
    • getCorpus

      public String getCorpus()
       Required. The parent corpus to search.
       Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
       
      string corpus = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getCorpus in interface SearchAssetsRequestOrBuilder
      Returns:
      The corpus.
    • getCorpusBytes

      public com.google.protobuf.ByteString getCorpusBytes()
       Required. The parent corpus to search.
       Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
       
      string corpus = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getCorpusBytes in interface SearchAssetsRequestOrBuilder
      Returns:
      The bytes for corpus.
    • setCorpus

      public SearchAssetsRequest.Builder setCorpus(String value)
       Required. The parent corpus to search.
       Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
       
      string corpus = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The corpus to set.
      Returns:
      This builder for chaining.
    • clearCorpus

      public SearchAssetsRequest.Builder clearCorpus()
       Required. The parent corpus to search.
       Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
       
      string corpus = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCorpusBytes

      public SearchAssetsRequest.Builder setCorpusBytes(com.google.protobuf.ByteString value)
       Required. The parent corpus to search.
       Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
       
      string corpus = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for corpus to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The number of results to be returned in this page. If it's 0, the server
       will decide the appropriate page_size.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface SearchAssetsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public SearchAssetsRequest.Builder setPageSize(int value)
       The number of results to be returned in this page. If it's 0, the server
       will decide the appropriate page_size.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public SearchAssetsRequest.Builder clearPageSize()
       The number of results to be returned in this page. If it's 0, the server
       will decide the appropriate page_size.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The continuation token to fetch the next page. If empty, it means it is
       fetching the first page.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface SearchAssetsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The continuation token to fetch the next page. If empty, it means it is
       fetching the first page.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface SearchAssetsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public SearchAssetsRequest.Builder setPageToken(String value)
       The continuation token to fetch the next page. If empty, it means it is
       fetching the first page.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public SearchAssetsRequest.Builder clearPageToken()
       The continuation token to fetch the next page. If empty, it means it is
       fetching the first page.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public SearchAssetsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The continuation token to fetch the next page. If empty, it means it is
       fetching the first page.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • hasContentTimeRanges

      public boolean hasContentTimeRanges()
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
      Specified by:
      hasContentTimeRanges in interface SearchAssetsRequestOrBuilder
      Returns:
      Whether the contentTimeRanges field is set.
    • getContentTimeRanges

      public DateTimeRangeArray getContentTimeRanges()
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
      Specified by:
      getContentTimeRanges in interface SearchAssetsRequestOrBuilder
      Returns:
      The contentTimeRanges.
    • setContentTimeRanges

      public SearchAssetsRequest.Builder setContentTimeRanges(DateTimeRangeArray value)
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
    • setContentTimeRanges

      public SearchAssetsRequest.Builder setContentTimeRanges(DateTimeRangeArray.Builder builderForValue)
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
    • mergeContentTimeRanges

      public SearchAssetsRequest.Builder mergeContentTimeRanges(DateTimeRangeArray value)
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
    • clearContentTimeRanges

      public SearchAssetsRequest.Builder clearContentTimeRanges()
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
    • getContentTimeRangesBuilder

      public DateTimeRangeArray.Builder getContentTimeRangesBuilder()
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
    • getContentTimeRangesOrBuilder

      public DateTimeRangeArrayOrBuilder getContentTimeRangesOrBuilder()
       Time ranges that matching video content must fall within. If no ranges are
       provided, there will be no time restriction. This field is treated just
       like the criteria below, but defined separately for convenience as it is
       used frequently. Note that if the end_time is in the future, it will be
       clamped to the time the request was received.
       
      .google.cloud.visionai.v1.DateTimeRangeArray content_time_ranges = 5;
      Specified by:
      getContentTimeRangesOrBuilder in interface SearchAssetsRequestOrBuilder
    • getCriteriaList

      public List<Criteria> getCriteriaList()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
      Specified by:
      getCriteriaList in interface SearchAssetsRequestOrBuilder
    • getCriteriaCount

      public int getCriteriaCount()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
      Specified by:
      getCriteriaCount in interface SearchAssetsRequestOrBuilder
    • getCriteria

      public Criteria getCriteria(int index)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
      Specified by:
      getCriteria in interface SearchAssetsRequestOrBuilder
    • setCriteria

      public SearchAssetsRequest.Builder setCriteria(int index, Criteria value)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • setCriteria

      public SearchAssetsRequest.Builder setCriteria(int index, Criteria.Builder builderForValue)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addCriteria

      public SearchAssetsRequest.Builder addCriteria(Criteria value)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addCriteria

      public SearchAssetsRequest.Builder addCriteria(int index, Criteria value)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addCriteria

      public SearchAssetsRequest.Builder addCriteria(Criteria.Builder builderForValue)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addCriteria

      public SearchAssetsRequest.Builder addCriteria(int index, Criteria.Builder builderForValue)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addAllCriteria

      public SearchAssetsRequest.Builder addAllCriteria(Iterable<? extends Criteria> values)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • clearCriteria

      public SearchAssetsRequest.Builder clearCriteria()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • removeCriteria

      public SearchAssetsRequest.Builder removeCriteria(int index)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • getCriteriaBuilder

      public Criteria.Builder getCriteriaBuilder(int index)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • getCriteriaOrBuilder

      public CriteriaOrBuilder getCriteriaOrBuilder(int index)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
      Specified by:
      getCriteriaOrBuilder in interface SearchAssetsRequestOrBuilder
    • getCriteriaOrBuilderList

      public List<? extends CriteriaOrBuilder> getCriteriaOrBuilderList()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
      Specified by:
      getCriteriaOrBuilderList in interface SearchAssetsRequestOrBuilder
    • addCriteriaBuilder

      public Criteria.Builder addCriteriaBuilder()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • addCriteriaBuilder

      public Criteria.Builder addCriteriaBuilder(int index)
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • getCriteriaBuilderList

      public List<Criteria.Builder> getCriteriaBuilderList()
       Criteria applied to search results.
       
      repeated .google.cloud.visionai.v1.Criteria criteria = 4;
    • getFacetSelectionsList

      public List<FacetGroup> getFacetSelectionsList()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
      Specified by:
      getFacetSelectionsList in interface SearchAssetsRequestOrBuilder
    • getFacetSelectionsCount

      public int getFacetSelectionsCount()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
      Specified by:
      getFacetSelectionsCount in interface SearchAssetsRequestOrBuilder
    • getFacetSelections

      public FacetGroup getFacetSelections(int index)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
      Specified by:
      getFacetSelections in interface SearchAssetsRequestOrBuilder
    • setFacetSelections

      public SearchAssetsRequest.Builder setFacetSelections(int index, FacetGroup value)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • setFacetSelections

      public SearchAssetsRequest.Builder setFacetSelections(int index, FacetGroup.Builder builderForValue)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addFacetSelections

      public SearchAssetsRequest.Builder addFacetSelections(FacetGroup value)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addFacetSelections

      public SearchAssetsRequest.Builder addFacetSelections(int index, FacetGroup value)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addFacetSelections

      public SearchAssetsRequest.Builder addFacetSelections(FacetGroup.Builder builderForValue)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addFacetSelections

      public SearchAssetsRequest.Builder addFacetSelections(int index, FacetGroup.Builder builderForValue)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addAllFacetSelections

      public SearchAssetsRequest.Builder addAllFacetSelections(Iterable<? extends FacetGroup> values)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • clearFacetSelections

      public SearchAssetsRequest.Builder clearFacetSelections()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • removeFacetSelections

      public SearchAssetsRequest.Builder removeFacetSelections(int index)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • getFacetSelectionsBuilder

      public FacetGroup.Builder getFacetSelectionsBuilder(int index)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • getFacetSelectionsOrBuilder

      public FacetGroupOrBuilder getFacetSelectionsOrBuilder(int index)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
      Specified by:
      getFacetSelectionsOrBuilder in interface SearchAssetsRequestOrBuilder
    • getFacetSelectionsOrBuilderList

      public List<? extends FacetGroupOrBuilder> getFacetSelectionsOrBuilderList()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
      Specified by:
      getFacetSelectionsOrBuilderList in interface SearchAssetsRequestOrBuilder
    • addFacetSelectionsBuilder

      public FacetGroup.Builder addFacetSelectionsBuilder()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • addFacetSelectionsBuilder

      public FacetGroup.Builder addFacetSelectionsBuilder(int index)
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • getFacetSelectionsBuilderList

      public List<FacetGroup.Builder> getFacetSelectionsBuilderList()
       Stores most recent facet selection state. Only facet groups with user's
       selection will be presented here. Selection state is either selected or
       unselected. Only selected facet buckets will be used as search criteria.
       
      repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;
    • getResultAnnotationKeysList

      public com.google.protobuf.ProtocolStringList getResultAnnotationKeysList()
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Specified by:
      getResultAnnotationKeysList in interface SearchAssetsRequestOrBuilder
      Returns:
      A list containing the resultAnnotationKeys.
    • getResultAnnotationKeysCount

      public int getResultAnnotationKeysCount()
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Specified by:
      getResultAnnotationKeysCount in interface SearchAssetsRequestOrBuilder
      Returns:
      The count of resultAnnotationKeys.
    • getResultAnnotationKeys

      public String getResultAnnotationKeys(int index)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Specified by:
      getResultAnnotationKeys in interface SearchAssetsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The resultAnnotationKeys at the given index.
    • getResultAnnotationKeysBytes

      public com.google.protobuf.ByteString getResultAnnotationKeysBytes(int index)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Specified by:
      getResultAnnotationKeysBytes in interface SearchAssetsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resultAnnotationKeys at the given index.
    • setResultAnnotationKeys

      public SearchAssetsRequest.Builder setResultAnnotationKeys(int index, String value)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Parameters:
      index - The index to set the value at.
      value - The resultAnnotationKeys to set.
      Returns:
      This builder for chaining.
    • addResultAnnotationKeys

      public SearchAssetsRequest.Builder addResultAnnotationKeys(String value)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Parameters:
      value - The resultAnnotationKeys to add.
      Returns:
      This builder for chaining.
    • addAllResultAnnotationKeys

      public SearchAssetsRequest.Builder addAllResultAnnotationKeys(Iterable<String> values)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Parameters:
      values - The resultAnnotationKeys to add.
      Returns:
      This builder for chaining.
    • clearResultAnnotationKeys

      public SearchAssetsRequest.Builder clearResultAnnotationKeys()
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Returns:
      This builder for chaining.
    • addResultAnnotationKeysBytes

      public SearchAssetsRequest.Builder addResultAnnotationKeysBytes(com.google.protobuf.ByteString value)
       A list of annotation keys to specify the annotations to be retrieved and
       returned with each search result.
       Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
       strategy must not be NO_SEARCH.
       
      repeated string result_annotation_keys = 8;
      Parameters:
      value - The bytes of the resultAnnotationKeys to add.
      Returns:
      This builder for chaining.
    • getSearchQuery

      public String getSearchQuery()
       Global search query. Allows user to search assets without needing to
       specify which field the value belongs to.
       
      string search_query = 10;
      Specified by:
      getSearchQuery in interface SearchAssetsRequestOrBuilder
      Returns:
      The searchQuery.
    • getSearchQueryBytes

      public com.google.protobuf.ByteString getSearchQueryBytes()
       Global search query. Allows user to search assets without needing to
       specify which field the value belongs to.
       
      string search_query = 10;
      Specified by:
      getSearchQueryBytes in interface SearchAssetsRequestOrBuilder
      Returns:
      The bytes for searchQuery.
    • setSearchQuery

      public SearchAssetsRequest.Builder setSearchQuery(String value)
       Global search query. Allows user to search assets without needing to
       specify which field the value belongs to.
       
      string search_query = 10;
      Parameters:
      value - The searchQuery to set.
      Returns:
      This builder for chaining.
    • clearSearchQuery

      public SearchAssetsRequest.Builder clearSearchQuery()
       Global search query. Allows user to search assets without needing to
       specify which field the value belongs to.
       
      string search_query = 10;
      Returns:
      This builder for chaining.
    • setSearchQueryBytes

      public SearchAssetsRequest.Builder setSearchQueryBytes(com.google.protobuf.ByteString value)
       Global search query. Allows user to search assets without needing to
       specify which field the value belongs to.
       
      string search_query = 10;
      Parameters:
      value - The bytes for searchQuery to set.
      Returns:
      This builder for chaining.