Package com.google.cloud.retail.v2alpha
Class SearchResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class SearchResponse extends com.google.protobuf.GeneratedMessageV3 implements SearchResponseOrBuilder
Response message for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search] method.
Protobuf typegoogle.cloud.retail.v2alpha.SearchResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchResponse.BuilderResponse message for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search] method.static classSearchResponse.FacetA facet result.static interfaceSearchResponse.FacetOrBuilderstatic classSearchResponse.QueryExpansionInfoInformation describing query expansion including whether expansion has occurred.static interfaceSearchResponse.QueryExpansionInfoOrBuilderstatic classSearchResponse.SearchResultRepresents the search results.static interfaceSearchResponse.SearchResultOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPPLIED_CONTROLS_FIELD_NUMBERstatic intATTRIBUTION_TOKEN_FIELD_NUMBERstatic intCORRECTED_QUERY_FIELD_NUMBERstatic intEXPERIMENT_INFO_FIELD_NUMBERstatic intFACETS_FIELD_NUMBERstatic intINVALID_CONDITION_BOOST_SPECS_FIELD_NUMBERstatic intNEXT_PAGE_TOKEN_FIELD_NUMBERstatic intQUERY_EXPANSION_INFO_FIELD_NUMBERstatic intREDIRECT_URI_FIELD_NUMBERstatic intRESULTS_FIELD_NUMBERstatic intTOTAL_SIZE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAppliedControls(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).intgetAppliedControlsCount()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ProtocolStringListgetAppliedControlsList()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).StringgetAttributionToken()A unique search token.com.google.protobuf.ByteStringgetAttributionTokenBytes()A unique search token.StringgetCorrectedQuery()Contains the spell corrected query, if found.com.google.protobuf.ByteStringgetCorrectedQueryBytes()Contains the spell corrected query, if found.static SearchResponsegetDefaultInstance()SearchResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ExperimentInfogetExperimentInfo(int index)Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this response.intgetExperimentInfoCount()Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this response.List<ExperimentInfo>getExperimentInfoList()Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this response.ExperimentInfoOrBuildergetExperimentInfoOrBuilder(int index)Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this response.List<? extends ExperimentInfoOrBuilder>getExperimentInfoOrBuilderList()Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this response.SearchResponse.FacetgetFacets(int index)Results of facets requested by user.intgetFacetsCount()Results of facets requested by user.List<SearchResponse.Facet>getFacetsList()Results of facets requested by user.SearchResponse.FacetOrBuildergetFacetsOrBuilder(int index)Results of facets requested by user.List<? extends SearchResponse.FacetOrBuilder>getFacetsOrBuilderList()Results of facets requested by user.SearchRequest.BoostSpec.ConditionBoostSpecgetInvalidConditionBoostSpecs(int index)The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.intgetInvalidConditionBoostSpecsCount()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.List<SearchRequest.BoostSpec.ConditionBoostSpec>getInvalidConditionBoostSpecsList()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchRequest.BoostSpec.ConditionBoostSpecOrBuildergetInvalidConditionBoostSpecsOrBuilder(int index)The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.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.StringgetNextPageToken()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.ByteStringgetNextPageTokenBytes()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.Parser<SearchResponse>getParserForType()SearchResponse.QueryExpansionInfogetQueryExpansionInfo()Query expansion information for the returned results.SearchResponse.QueryExpansionInfoOrBuildergetQueryExpansionInfoOrBuilder()Query expansion information for the returned results.StringgetRedirectUri()The URI of a customer-defined redirect page.com.google.protobuf.ByteStringgetRedirectUriBytes()The URI of a customer-defined redirect page.SearchResponse.SearchResultgetResults(int index)A list of matched items.intgetResultsCount()A list of matched items.List<SearchResponse.SearchResult>getResultsList()A list of matched items.SearchResponse.SearchResultOrBuildergetResultsOrBuilder(int index)A list of matched items.List<? extends SearchResponse.SearchResultOrBuilder>getResultsOrBuilderList()A list of matched items.intgetSerializedSize()intgetTotalSize()The estimated total count of matched items irrespective of pagination.inthashCode()booleanhasQueryExpansionInfo()Query expansion information for the returned results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SearchResponse.BuildernewBuilder()static SearchResponse.BuildernewBuilder(SearchResponse prototype)SearchResponse.BuildernewBuilderForType()protected SearchResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()SearchResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FACETS_FIELD_NUMBER
public static final int FACETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CORRECTED_QUERY_FIELD_NUMBER
public static final int CORRECTED_QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTION_TOKEN_FIELD_NUMBER
public static final int ATTRIBUTION_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_EXPANSION_INFO_FIELD_NUMBER
public static final int QUERY_EXPANSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDIRECT_URI_FIELD_NUMBER
public static final int REDIRECT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLIED_CONTROLS_FIELD_NUMBER
public static final int APPLIED_CONTROLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INVALID_CONDITION_BOOST_SPECS_FIELD_NUMBER
public static final int INVALID_CONDITION_BOOST_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPERIMENT_INFO_FIELD_NUMBER
public static final int EXPERIMENT_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResultsList
public List<SearchResponse.SearchResult> 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
public List<? extends SearchResponse.SearchResultOrBuilder> 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
public SearchResponse.SearchResult getResults(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsin interfaceSearchResponseOrBuilder
-
getResultsOrBuilder
public SearchResponse.SearchResultOrBuilder getResultsOrBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchResponseOrBuilder
-
getFacetsList
public List<SearchResponse.Facet> getFacetsList()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsListin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilderList
public List<? extends SearchResponse.FacetOrBuilder> 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
public SearchResponse.Facet getFacets(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilder
public SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
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
public String 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
public String 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
public String 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
public SearchResponse.QueryExpansionInfo 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
public SearchResponse.QueryExpansionInfoOrBuilder getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
getQueryExpansionInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getRedirectUri
public String 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
public String getAppliedControls(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:
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.
-
getInvalidConditionBoostSpecsList
public List<SearchRequest.BoostSpec.ConditionBoostSpec> 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
public SearchRequest.BoostSpec.ConditionBoostSpec 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.
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
public List<ExperimentInfo> getExperimentInfoList()
Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.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
public List<? extends ExperimentInfoOrBuilder> getExperimentInfoOrBuilderList()
Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.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][google.cloud.retail.v2alpha.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
public ExperimentInfo getExperimentInfo(int index)
Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.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
public ExperimentInfoOrBuilder getExperimentInfoOrBuilder(int index)
Metadata related to A/B testing [Experiment][google.cloud.retail.v2alpha.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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static SearchResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchResponse parseDelimitedFrom(InputStream input) throws IOException
- 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
public SearchResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchResponse.Builder newBuilder()
-
newBuilder
public static SearchResponse.Builder newBuilder(SearchResponse prototype)
-
toBuilder
public SearchResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SearchResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SearchResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<SearchResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SearchResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-