Package com.google.cloud.retail.v2alpha
Class SearchResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.SearchResponse
- All Implemented Interfaces:
SearchResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SearchResponse
extends com.google.protobuf.GeneratedMessage
implements SearchResponseOrBuilder
Response message for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search] method.Protobuf type
google.cloud.retail.v2alpha.SearchResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse message for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search] method.static final classThis field specifies all related information that is needed on client side for UI rendering of conversational retail search.static interfacestatic final classA facet result.static interfacestatic final classInformation describing query expansion including whether expansion has occurred.static interfacestatic final classRepresents the search results.static interfacestatic final classThis field specifies all related information for tile navigation that will be used in client side.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAppliedControls(int index) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ByteStringgetAppliedControlsBytes(int index) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).intThe fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ProtocolStringListThe fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).A unique search token.com.google.protobuf.ByteStringA unique search token.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.Contains the spell corrected query, if found.com.google.protobuf.ByteStringContains the spell corrected query, if found.static SearchResponsestatic final com.google.protobuf.Descriptors.DescriptorgetExperimentInfo(int index) Metadata related to A/B testing experiment associated with this response.intMetadata related to A/B testing experiment associated with this response.Metadata related to A/B testing experiment associated with this response.getExperimentInfoOrBuilder(int index) Metadata related to A/B testing experiment associated with this response.List<? extends ExperimentInfoOrBuilder>Metadata related to A/B testing experiment associated with this response.getFacets(int index) Results of facets requested by user.intResults of facets requested by user.Results of facets requested by user.getFacetsOrBuilder(int index) Results of facets requested by user.List<? extends SearchResponse.FacetOrBuilder>Results of facets requested by user.getInvalidConditionBoostSpecs(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.intThe invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.getInvalidConditionBoostSpecsOrBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.com.google.protobuf.ByteStringA token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.com.google.protobuf.Parser<SearchResponse>Metadata for pin controls which were applicable to the request.Metadata for pin controls which were applicable to the request.Query expansion information for the returned results.Query expansion information for the returned results.The URI of a customer-defined redirect page.com.google.protobuf.ByteStringThe URI of a customer-defined redirect page.getResults(int index) A list of matched items.intA list of matched items.A list of matched items.getResultsOrBuilder(int index) A list of matched items.List<? extends SearchResponse.SearchResultOrBuilder>A list of matched items.intThis field specifies all related information for tile navigation that will be used in client side.This field specifies all related information for tile navigation that will be used in client side.intThe estimated total count of matched items irrespective of pagination.booleanThis field specifies all related information that is needed on client side for UI rendering of conversational retail search.inthashCode()booleanMetadata for pin controls which were applicable to the request.booleanQuery expansion information for the returned results.booleanThis field specifies all related information for tile navigation that will be used in client side.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SearchResponse.Builderstatic SearchResponse.BuildernewBuilder(SearchResponse prototype) protected SearchResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SearchResponseparseDelimitedFrom(InputStream input) static SearchResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchResponseparseFrom(byte[] data) static SearchResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchResponseparseFrom(com.google.protobuf.ByteString data) static SearchResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchResponseparseFrom(com.google.protobuf.CodedInputStream input) static SearchResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchResponseparseFrom(InputStream input) static SearchResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchResponseparseFrom(ByteBuffer data) static SearchResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER- See Also:
-
FACETS_FIELD_NUMBER
public static final int FACETS_FIELD_NUMBER- See Also:
-
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER- See Also:
-
CORRECTED_QUERY_FIELD_NUMBER
public static final int CORRECTED_QUERY_FIELD_NUMBER- See Also:
-
ATTRIBUTION_TOKEN_FIELD_NUMBER
public static final int ATTRIBUTION_TOKEN_FIELD_NUMBER- See Also:
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER- See Also:
-
QUERY_EXPANSION_INFO_FIELD_NUMBER
public static final int QUERY_EXPANSION_INFO_FIELD_NUMBER- See Also:
-
REDIRECT_URI_FIELD_NUMBER
public static final int REDIRECT_URI_FIELD_NUMBER- See Also:
-
APPLIED_CONTROLS_FIELD_NUMBER
public static final int APPLIED_CONTROLS_FIELD_NUMBER- See Also:
-
PIN_CONTROL_METADATA_FIELD_NUMBER
public static final int PIN_CONTROL_METADATA_FIELD_NUMBER- See Also:
-
INVALID_CONDITION_BOOST_SPECS_FIELD_NUMBER
public static final int INVALID_CONDITION_BOOST_SPECS_FIELD_NUMBER- See Also:
-
EXPERIMENT_INFO_FIELD_NUMBER
public static final int EXPERIMENT_INFO_FIELD_NUMBER- See Also:
-
CONVERSATIONAL_SEARCH_RESULT_FIELD_NUMBER
public static final int CONVERSATIONAL_SEARCH_RESULT_FIELD_NUMBER- See Also:
-
TILE_NAVIGATION_RESULT_FIELD_NUMBER
public static final int TILE_NAVIGATION_RESULT_FIELD_NUMBER- See Also:
-
-
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
-
getResultsList
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsListin interfaceSearchResponseOrBuilder
-
getResultsOrBuilderList
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderListin interfaceSearchResponseOrBuilder
-
getResultsCount
public int getResultsCount()A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsCountin interfaceSearchResponseOrBuilder
-
getResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsin interfaceSearchResponseOrBuilder
-
getResultsOrBuilder
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchResponseOrBuilder
-
getFacetsList
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsListin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilderList
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderListin interfaceSearchResponseOrBuilder
-
getFacetsCount
public int getFacetsCount()Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsCountin interfaceSearchResponseOrBuilder
-
getFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilder
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderin interfaceSearchResponseOrBuilder
-
getTotalSize
public int getTotalSize()The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.retail.v2alpha.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2alpha.SearchResponse.total_size] that matches.
int32 total_size = 3;- Specified by:
getTotalSizein interfaceSearchResponseOrBuilder- Returns:
- The totalSize.
-
getCorrectedQuery
Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.
string corrected_query = 4;- Specified by:
getCorrectedQueryin interfaceSearchResponseOrBuilder- Returns:
- The correctedQuery.
-
getCorrectedQueryBytes
public com.google.protobuf.ByteString getCorrectedQueryBytes()Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.
string corrected_query = 4;- Specified by:
getCorrectedQueryBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for correctedQuery.
-
getAttributionToken
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- Specified by:
getAttributionTokenin interfaceSearchResponseOrBuilder- Returns:
- The attributionToken.
-
getAttributionTokenBytes
public com.google.protobuf.ByteString getAttributionTokenBytes()A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- Specified by:
getAttributionTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for attributionToken.
-
getNextPageToken
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Specified by:
getNextPageTokenin interfaceSearchResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Specified by:
getNextPageTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
hasQueryExpansionInfo
public boolean hasQueryExpansionInfo()Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
hasQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- Whether the queryExpansionInfo field is set.
-
getQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
getQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- The queryExpansionInfo.
-
getQueryExpansionInfoOrBuilder
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
getQueryExpansionInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getRedirectUri
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- Specified by:
getRedirectUriin interfaceSearchResponseOrBuilder- Returns:
- The redirectUri.
-
getRedirectUriBytes
public com.google.protobuf.ByteString getRedirectUriBytes()The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- Specified by:
getRedirectUriBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for redirectUri.
-
getAppliedControlsList
public com.google.protobuf.ProtocolStringList getAppliedControlsList()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsListin interfaceSearchResponseOrBuilder- Returns:
- A list containing the appliedControls.
-
getAppliedControlsCount
public int getAppliedControlsCount()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsCountin interfaceSearchResponseOrBuilder- Returns:
- The count of appliedControls.
-
getAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsin interfaceSearchResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The appliedControls at the given index.
-
getAppliedControlsBytes
public com.google.protobuf.ByteString getAppliedControlsBytes(int index) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsBytesin interfaceSearchResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the appliedControls at the given index.
-
hasPinControlMetadata
public boolean hasPinControlMetadata()Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
hasPinControlMetadatain interfaceSearchResponseOrBuilder- Returns:
- Whether the pinControlMetadata field is set.
-
getPinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
getPinControlMetadatain interfaceSearchResponseOrBuilder- Returns:
- The pinControlMetadata.
-
getPinControlMetadataOrBuilder
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
getPinControlMetadataOrBuilderin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsList
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsListin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsOrBuilderList
public List<? extends SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder> getInvalidConditionBoostSpecsOrBuilderList()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsOrBuilderListin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsCount
public int getInvalidConditionBoostSpecsCount()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsCountin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecs
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsOrBuilder
public SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder getInvalidConditionBoostSpecsOrBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsOrBuilderin interfaceSearchResponseOrBuilder
-
getExperimentInfoList
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoListin interfaceSearchResponseOrBuilder
-
getExperimentInfoOrBuilderList
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoOrBuilderListin interfaceSearchResponseOrBuilder
-
getExperimentInfoCount
public int getExperimentInfoCount()Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoCountin interfaceSearchResponseOrBuilder
-
getExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoin interfaceSearchResponseOrBuilder
-
getExperimentInfoOrBuilder
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoOrBuilderin interfaceSearchResponseOrBuilder
-
hasConversationalSearchResult
public boolean hasConversationalSearchResult()This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
hasConversationalSearchResultin interfaceSearchResponseOrBuilder- Returns:
- Whether the conversationalSearchResult field is set.
-
getConversationalSearchResult
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
getConversationalSearchResultin interfaceSearchResponseOrBuilder- Returns:
- The conversationalSearchResult.
-
getConversationalSearchResultOrBuilder
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
getConversationalSearchResultOrBuilderin interfaceSearchResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SearchResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-