Package com.google.cloud.visionai.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllCriteria(Iterable<? extends Criteria> values) Criteria applied to search results.addAllFacetSelections(Iterable<? extends FacetGroup> values) Stores most recent facet selection state.addAllResultAnnotationKeys(Iterable<String> values) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.addCriteria(int index, Criteria value) Criteria applied to search results.addCriteria(int index, Criteria.Builder builderForValue) Criteria applied to search results.addCriteria(Criteria value) Criteria applied to search results.addCriteria(Criteria.Builder builderForValue) Criteria applied to search results.Criteria applied to search results.addCriteriaBuilder(int index) Criteria applied to search results.addFacetSelections(int index, FacetGroup value) Stores most recent facet selection state.addFacetSelections(int index, FacetGroup.Builder builderForValue) Stores most recent facet selection state.addFacetSelections(FacetGroup value) Stores most recent facet selection state.addFacetSelections(FacetGroup.Builder builderForValue) Stores most recent facet selection state.Stores most recent facet selection state.addFacetSelectionsBuilder(int index) Stores most recent facet selection state.addResultAnnotationKeys(String value) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.addResultAnnotationKeysBytes(com.google.protobuf.ByteString value) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.build()clear()Time ranges that matching video content must fall within.Required.Criteria applied to search results.Stores most recent facet selection state.The number of results to be returned in this page.The continuation token to fetch the next page.A list of annotation keys to specify the annotations to be retrieved and returned with each search result.Sort by the value under the data schema key.Global search query.Time ranges that matching video content must fall within.Time ranges that matching video content must fall within.Time ranges that matching video content must fall within.Required.com.google.protobuf.ByteStringRequired.getCriteria(int index) Criteria applied to search results.getCriteriaBuilder(int index) Criteria applied to search results.Criteria applied to search results.intCriteria applied to search results.Criteria applied to search results.getCriteriaOrBuilder(int index) Criteria applied to search results.List<? extends CriteriaOrBuilder>Criteria applied to search results.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFacetSelections(int index) Stores most recent facet selection state.getFacetSelectionsBuilder(int index) Stores most recent facet selection state.Stores most recent facet selection state.intStores most recent facet selection state.Stores most recent facet selection state.getFacetSelectionsOrBuilder(int index) Stores most recent facet selection state.List<? extends FacetGroupOrBuilder>Stores most recent facet selection state.intThe number of results to be returned in this page.The continuation token to fetch the next page.com.google.protobuf.ByteStringThe continuation token to fetch the next page.getResultAnnotationKeys(int index) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.com.google.protobuf.ByteStringgetResultAnnotationKeysBytes(int index) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.intA list of annotation keys to specify the annotations to be retrieved and returned with each search result.com.google.protobuf.ProtocolStringListA list of annotation keys to specify the annotations to be retrieved and returned with each search result.Sort by the value under the data schema key.Sort by the value under the data schema key.Sort by the value under the data schema key.Global search query.com.google.protobuf.ByteStringGlobal search query.booleanTime ranges that matching video content must fall within.booleanSort by the value under the data schema key.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanTime ranges that matching video content must fall within.mergeFrom(SearchAssetsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Sort by the value under the data schema key.removeCriteria(int index) Criteria applied to search results.removeFacetSelections(int index) Stores most recent facet selection state.Time ranges that matching video content must fall within.setContentTimeRanges(DateTimeRangeArray.Builder builderForValue) Time ranges that matching video content must fall within.Required.setCorpusBytes(com.google.protobuf.ByteString value) Required.setCriteria(int index, Criteria value) Criteria applied to search results.setCriteria(int index, Criteria.Builder builderForValue) Criteria applied to search results.setFacetSelections(int index, FacetGroup value) Stores most recent facet selection state.setFacetSelections(int index, FacetGroup.Builder builderForValue) Stores most recent facet selection state.setPageSize(int value) The number of results to be returned in this page.setPageToken(String value) The continuation token to fetch the next page.setPageTokenBytes(com.google.protobuf.ByteString value) The continuation token to fetch the next page.setResultAnnotationKeys(int index, String value) A list of annotation keys to specify the annotations to be retrieved and returned with each search result.Sort by the value under the data schema key.setSchemaKeySortingStrategy(SchemaKeySortingStrategy.Builder builderForValue) Sort by the value under the data schema key.setSearchQuery(String value) Global search query.setSearchQueryBytes(com.google.protobuf.ByteString value) Global search query.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchAssetsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchAssetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchAssetsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchAssetsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchAssetsRequest.Builder>- Throws:
IOException
-
getSortSpecCase
- Specified by:
getSortSpecCasein interfaceSearchAssetsRequestOrBuilder
-
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:
hasSchemaKeySortingStrategyin interfaceSearchAssetsRequestOrBuilder- Returns:
- Whether the schemaKeySortingStrategy field is set.
-
getSchemaKeySortingStrategy
Sort by the value under the data schema key.
.google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;- Specified by:
getSchemaKeySortingStrategyin interfaceSearchAssetsRequestOrBuilder- Returns:
- The schemaKeySortingStrategy.
-
setSchemaKeySortingStrategy
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
Sort by the value under the data schema key.
.google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9; -
clearSchemaKeySortingStrategy
Sort by the value under the data schema key.
.google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9; -
getSchemaKeySortingStrategyBuilder
Sort by the value under the data schema key.
.google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9; -
getSchemaKeySortingStrategyOrBuilder
Sort by the value under the data schema key.
.google.cloud.visionai.v1.SchemaKeySortingStrategy schema_key_sorting_strategy = 9;- Specified by:
getSchemaKeySortingStrategyOrBuilderin interfaceSearchAssetsRequestOrBuilder
-
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:
getCorpusin interfaceSearchAssetsRequestOrBuilder- 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:
getCorpusBytesin interfaceSearchAssetsRequestOrBuilder- Returns:
- The bytes for corpus.
-
setCorpus
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
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
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:
getPageSizein interfaceSearchAssetsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
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
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
The continuation token to fetch the next page. If empty, it means it is fetching the first page.
string page_token = 3;- Specified by:
getPageTokenin interfaceSearchAssetsRequestOrBuilder- 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:
getPageTokenBytesin interfaceSearchAssetsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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
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
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:
hasContentTimeRangesin interfaceSearchAssetsRequestOrBuilder- Returns:
- Whether the contentTimeRanges field is set.
-
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:
getContentTimeRangesin interfaceSearchAssetsRequestOrBuilder- Returns:
- The contentTimeRanges.
-
setContentTimeRanges
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
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
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
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
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
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:
getContentTimeRangesOrBuilderin interfaceSearchAssetsRequestOrBuilder
-
getCriteriaList
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4;- Specified by:
getCriteriaListin interfaceSearchAssetsRequestOrBuilder
-
getCriteriaCount
public int getCriteriaCount()Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4;- Specified by:
getCriteriaCountin interfaceSearchAssetsRequestOrBuilder
-
getCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4;- Specified by:
getCriteriain interfaceSearchAssetsRequestOrBuilder
-
setCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
setCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addAllCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
clearCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
removeCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteriaBuilder
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteriaOrBuilder
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4;- Specified by:
getCriteriaOrBuilderin interfaceSearchAssetsRequestOrBuilder
-
getCriteriaOrBuilderList
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4;- Specified by:
getCriteriaOrBuilderListin interfaceSearchAssetsRequestOrBuilder
-
addCriteriaBuilder
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
addCriteriaBuilder
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteriaBuilderList
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
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:
getFacetSelectionsListin interfaceSearchAssetsRequestOrBuilder
-
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:
getFacetSelectionsCountin interfaceSearchAssetsRequestOrBuilder
-
getFacetSelections
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:
getFacetSelectionsin interfaceSearchAssetsRequestOrBuilder
-
setFacetSelections
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
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
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
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
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
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
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
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
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:
getFacetSelectionsOrBuilderin interfaceSearchAssetsRequestOrBuilder
-
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:
getFacetSelectionsOrBuilderListin interfaceSearchAssetsRequestOrBuilder
-
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
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
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:
getResultAnnotationKeysListin interfaceSearchAssetsRequestOrBuilder- 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:
getResultAnnotationKeysCountin interfaceSearchAssetsRequestOrBuilder- Returns:
- The count of resultAnnotationKeys.
-
getResultAnnotationKeys
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:
getResultAnnotationKeysin interfaceSearchAssetsRequestOrBuilder- 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:
getResultAnnotationKeysBytesin interfaceSearchAssetsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resultAnnotationKeys at the given index.
-
setResultAnnotationKeys
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
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
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
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
Global search query. Allows user to search assets without needing to specify which field the value belongs to.
string search_query = 10;- Specified by:
getSearchQueryin interfaceSearchAssetsRequestOrBuilder- 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:
getSearchQueryBytesin interfaceSearchAssetsRequestOrBuilder- Returns:
- The bytes for searchQuery.
-
setSearchQuery
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
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
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.
-