Package com.google.cloud.visionai.v1
Interface SearchIndexEndpointRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchIndexEndpointRequest,SearchIndexEndpointRequest.Builder
@Generated
public interface SearchIndexEndpointRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCriteria(int index) 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.getExclusionCriteria(int index) Criteria to exclude from search results.intCriteria to exclude from search results.Criteria to exclude from search results.getExclusionCriteriaOrBuilder(int index) Criteria to exclude from search results.List<? extends CriteriaOrBuilder>Criteria to exclude from search results.An image-only query.An image-only query.Required.com.google.protobuf.ByteStringRequired.intRequested page size.The continuation token to fetch the next page.com.google.protobuf.ByteStringThe continuation token to fetch the next page.A text-only query.com.google.protobuf.ByteStringA text-only query.booleanAn image-only query.booleanA text-only query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasImageQuery
boolean hasImageQuery()An image-only query.
.google.cloud.visionai.v1.ImageQuery image_query = 2;- Returns:
- Whether the imageQuery field is set.
-
getImageQuery
ImageQuery getImageQuery()An image-only query.
.google.cloud.visionai.v1.ImageQuery image_query = 2;- Returns:
- The imageQuery.
-
getImageQueryOrBuilder
ImageQueryOrBuilder getImageQueryOrBuilder()An image-only query.
.google.cloud.visionai.v1.ImageQuery image_query = 2; -
hasTextQuery
boolean hasTextQuery()A text-only query.
string text_query = 3;- Returns:
- Whether the textQuery field is set.
-
getTextQuery
String getTextQuery()A text-only query.
string text_query = 3;- Returns:
- The textQuery.
-
getTextQueryBytes
com.google.protobuf.ByteString getTextQueryBytes()A text-only query.
string text_query = 3;- Returns:
- The bytes for textQuery.
-
getIndexEndpoint
String getIndexEndpoint()Required. The index endpoint to search. Format: `projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}'string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The indexEndpoint.
-
getIndexEndpointBytes
com.google.protobuf.ByteString getIndexEndpointBytes()Required. The index endpoint to search. Format: `projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}'string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for indexEndpoint.
-
getCriteriaList
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteria
Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteriaCount
int getCriteriaCount()Criteria applied to search results.
repeated .google.cloud.visionai.v1.Criteria criteria = 4; -
getCriteriaOrBuilderList
List<? extends CriteriaOrBuilder> getCriteriaOrBuilderList()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; -
getExclusionCriteriaList
Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored.
repeated .google.cloud.visionai.v1.Criteria exclusion_criteria = 7; -
getExclusionCriteria
Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored.
repeated .google.cloud.visionai.v1.Criteria exclusion_criteria = 7; -
getExclusionCriteriaCount
int getExclusionCriteriaCount()Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored.
repeated .google.cloud.visionai.v1.Criteria exclusion_criteria = 7; -
getExclusionCriteriaOrBuilderList
List<? extends CriteriaOrBuilder> getExclusionCriteriaOrBuilderList()Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored.
repeated .google.cloud.visionai.v1.Criteria exclusion_criteria = 7; -
getExclusionCriteriaOrBuilder
Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored.
repeated .google.cloud.visionai.v1.Criteria exclusion_criteria = 7; -
getPageSize
int getPageSize()Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick the maximum size, which is 200.
int32 page_size = 5;- Returns:
- The pageSize.
-
getPageToken
String getPageToken()The continuation token to fetch the next page. If empty, it means it is fetching the first page.
string page_token = 6;- Returns:
- The pageToken.
-
getPageTokenBytes
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 = 6;- Returns:
- The bytes for pageToken.
-
getQueryCase
SearchIndexEndpointRequest.QueryCase getQueryCase()
-