Package com.google.cloud.retail.v2beta
Class SearchResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
- com.google.cloud.retail.v2beta.SearchResponse.Builder
-
- All Implemented Interfaces:
SearchResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SearchResponse
public static final class SearchResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder> implements SearchResponseOrBuilder
Response message for [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search] method.
Protobuf typegoogle.cloud.retail.v2beta.SearchResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResponse.Builder
addAllAppliedControls(Iterable<String> values)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).SearchResponse.Builder
addAllExperimentInfo(Iterable<? extends ExperimentInfo> values)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
addAllFacets(Iterable<? extends SearchResponse.Facet> values)
Results of facets requested by user.SearchResponse.Builder
addAllInvalidConditionBoostSpecs(Iterable<? extends SearchRequest.BoostSpec.ConditionBoostSpec> values)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
addAllResults(Iterable<? extends SearchResponse.SearchResult> values)
A list of matched items.SearchResponse.Builder
addAppliedControls(String value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).SearchResponse.Builder
addAppliedControlsBytes(com.google.protobuf.ByteString value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).SearchResponse.Builder
addExperimentInfo(int index, ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
addExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
addExperimentInfo(ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
addExperimentInfo(ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response.ExperimentInfo.Builder
addExperimentInfoBuilder()
Metadata related to A/B testing [Experiment][] associated with this response.ExperimentInfo.Builder
addExperimentInfoBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
addFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.SearchResponse.Builder
addFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.SearchResponse.Builder
addFacets(SearchResponse.Facet value)
Results of facets requested by user.SearchResponse.Builder
addFacets(SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.SearchResponse.Facet.Builder
addFacetsBuilder()
Results of facets requested by user.SearchResponse.Facet.Builder
addFacetsBuilder(int index)
Results of facets requested by user.SearchResponse.Builder
addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchRequest.BoostSpec.ConditionBoostSpec.Builder
addInvalidConditionBoostSpecsBuilder()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchRequest.BoostSpec.ConditionBoostSpec.Builder
addInvalidConditionBoostSpecsBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SearchResponse.Builder
addResults(int index, SearchResponse.SearchResult value)
A list of matched items.SearchResponse.Builder
addResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items.SearchResponse.Builder
addResults(SearchResponse.SearchResult value)
A list of matched items.SearchResponse.Builder
addResults(SearchResponse.SearchResult.Builder builderForValue)
A list of matched items.SearchResponse.SearchResult.Builder
addResultsBuilder()
A list of matched items.SearchResponse.SearchResult.Builder
addResultsBuilder(int index)
A list of matched items.SearchResponse
build()
SearchResponse
buildPartial()
SearchResponse.Builder
clear()
SearchResponse.Builder
clearAppliedControls()
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).SearchResponse.Builder
clearAttributionToken()
A unique search token.SearchResponse.Builder
clearCorrectedQuery()
Contains the spell corrected query, if found.SearchResponse.Builder
clearExperimentInfo()
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
clearFacets()
Results of facets requested by user.SearchResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SearchResponse.Builder
clearInvalidConditionBoostSpecs()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
clearNextPageToken()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page.SearchResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SearchResponse.Builder
clearQueryExpansionInfo()
Query expansion information for the returned results.SearchResponse.Builder
clearRedirectUri()
The URI of a customer-defined redirect page.SearchResponse.Builder
clearResults()
A list of matched items.SearchResponse.Builder
clearTotalSize()
The estimated total count of matched items irrespective of pagination.SearchResponse.Builder
clone()
String
getAppliedControls(int index)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ByteString
getAppliedControlsBytes(int index)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).int
getAppliedControlsCount()
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ProtocolStringList
getAppliedControlsList()
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).String
getAttributionToken()
A unique search token.com.google.protobuf.ByteString
getAttributionTokenBytes()
A unique search token.String
getCorrectedQuery()
Contains the spell corrected query, if found.com.google.protobuf.ByteString
getCorrectedQueryBytes()
Contains the spell corrected query, if found.SearchResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ExperimentInfo
getExperimentInfo(int index)
Metadata related to A/B testing [Experiment][] associated with this response.ExperimentInfo.Builder
getExperimentInfoBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response.List<ExperimentInfo.Builder>
getExperimentInfoBuilderList()
Metadata related to A/B testing [Experiment][] associated with this response.int
getExperimentInfoCount()
Metadata related to A/B testing [Experiment][] associated with this response.List<ExperimentInfo>
getExperimentInfoList()
Metadata related to A/B testing [Experiment][] associated with this response.ExperimentInfoOrBuilder
getExperimentInfoOrBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response.List<? extends ExperimentInfoOrBuilder>
getExperimentInfoOrBuilderList()
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Facet
getFacets(int index)
Results of facets requested by user.SearchResponse.Facet.Builder
getFacetsBuilder(int index)
Results of facets requested by user.List<SearchResponse.Facet.Builder>
getFacetsBuilderList()
Results of facets requested by user.int
getFacetsCount()
Results of facets requested by user.List<SearchResponse.Facet>
getFacetsList()
Results of facets requested by user.SearchResponse.FacetOrBuilder
getFacetsOrBuilder(int index)
Results of facets requested by user.List<? extends SearchResponse.FacetOrBuilder>
getFacetsOrBuilderList()
Results of facets requested by user.SearchRequest.BoostSpec.ConditionBoostSpec
getInvalidConditionBoostSpecs(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchRequest.BoostSpec.ConditionBoostSpec.Builder
getInvalidConditionBoostSpecsBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.List<SearchRequest.BoostSpec.ConditionBoostSpec.Builder>
getInvalidConditionBoostSpecsBuilderList()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.int
getInvalidConditionBoostSpecsCount()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.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.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder
getInvalidConditionBoostSpecsOrBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.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.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.String
getNextPageToken()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page.SearchResponse.QueryExpansionInfo
getQueryExpansionInfo()
Query expansion information for the returned results.SearchResponse.QueryExpansionInfo.Builder
getQueryExpansionInfoBuilder()
Query expansion information for the returned results.SearchResponse.QueryExpansionInfoOrBuilder
getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.String
getRedirectUri()
The URI of a customer-defined redirect page.com.google.protobuf.ByteString
getRedirectUriBytes()
The URI of a customer-defined redirect page.SearchResponse.SearchResult
getResults(int index)
A list of matched items.SearchResponse.SearchResult.Builder
getResultsBuilder(int index)
A list of matched items.List<SearchResponse.SearchResult.Builder>
getResultsBuilderList()
A list of matched items.int
getResultsCount()
A list of matched items.List<SearchResponse.SearchResult>
getResultsList()
A list of matched items.SearchResponse.SearchResultOrBuilder
getResultsOrBuilder(int index)
A list of matched items.List<? extends SearchResponse.SearchResultOrBuilder>
getResultsOrBuilderList()
A list of matched items.int
getTotalSize()
The estimated total count of matched items irrespective of pagination.boolean
hasQueryExpansionInfo()
Query expansion information for the returned results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SearchResponse.Builder
mergeFrom(SearchResponse other)
SearchResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SearchResponse.Builder
mergeFrom(com.google.protobuf.Message other)
SearchResponse.Builder
mergeQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.SearchResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SearchResponse.Builder
removeExperimentInfo(int index)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
removeFacets(int index)
Results of facets requested by user.SearchResponse.Builder
removeInvalidConditionBoostSpecs(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
removeResults(int index)
A list of matched items.SearchResponse.Builder
setAppliedControls(int index, String value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).SearchResponse.Builder
setAttributionToken(String value)
A unique search token.SearchResponse.Builder
setAttributionTokenBytes(com.google.protobuf.ByteString value)
A unique search token.SearchResponse.Builder
setCorrectedQuery(String value)
Contains the spell corrected query, if found.SearchResponse.Builder
setCorrectedQueryBytes(com.google.protobuf.ByteString value)
Contains the spell corrected query, if found.SearchResponse.Builder
setExperimentInfo(int index, ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
setExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response.SearchResponse.Builder
setFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.SearchResponse.Builder
setFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.SearchResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SearchResponse.Builder
setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.SearchResponse.Builder
setNextPageToken(String value)
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page.SearchResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page.SearchResponse.Builder
setQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.SearchResponse.Builder
setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue)
Query expansion information for the returned results.SearchResponse.Builder
setRedirectUri(String value)
The URI of a customer-defined redirect page.SearchResponse.Builder
setRedirectUriBytes(com.google.protobuf.ByteString value)
The URI of a customer-defined redirect page.SearchResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SearchResponse.Builder
setResults(int index, SearchResponse.SearchResult value)
A list of matched items.SearchResponse.Builder
setResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items.SearchResponse.Builder
setTotalSize(int value)
The estimated total count of matched items irrespective of pagination.SearchResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
clear
public SearchResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
getDefaultInstanceForType
public SearchResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
setField
public SearchResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
clearField
public SearchResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
clearOneof
public SearchResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
setRepeatedField
public SearchResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
addRepeatedField
public SearchResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
mergeFrom
public SearchResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>
-
mergeFrom
public SearchResponse.Builder mergeFrom(SearchResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
mergeFrom
public SearchResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>
- Throws:
IOException
-
getResultsList
public List<SearchResponse.SearchResult> getResultsList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
- Specified by:
getResultsList
in interfaceSearchResponseOrBuilder
-
getResultsCount
public int getResultsCount()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
- Specified by:
getResultsCount
in interfaceSearchResponseOrBuilder
-
getResults
public SearchResponse.SearchResult getResults(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
- Specified by:
getResults
in interfaceSearchResponseOrBuilder
-
setResults
public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
setResults
public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addResults
public SearchResponse.Builder addResults(SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addResults
public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addResults
public SearchResponse.Builder addResults(SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addResults
public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addAllResults
public SearchResponse.Builder addAllResults(Iterable<? extends SearchResponse.SearchResult> values)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
clearResults
public SearchResponse.Builder clearResults()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
removeResults
public SearchResponse.Builder removeResults(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
getResultsBuilder
public SearchResponse.SearchResult.Builder getResultsBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
getResultsOrBuilder
public SearchResponse.SearchResultOrBuilder getResultsOrBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
- Specified by:
getResultsOrBuilder
in interfaceSearchResponseOrBuilder
-
getResultsOrBuilderList
public List<? extends SearchResponse.SearchResultOrBuilder> getResultsOrBuilderList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
- Specified by:
getResultsOrBuilderList
in interfaceSearchResponseOrBuilder
-
addResultsBuilder
public SearchResponse.SearchResult.Builder addResultsBuilder()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
addResultsBuilder
public SearchResponse.SearchResult.Builder addResultsBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
getResultsBuilderList
public List<SearchResponse.SearchResult.Builder> getResultsBuilderList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2beta.SearchResponse.SearchResult results = 1;
-
getFacetsList
public List<SearchResponse.Facet> getFacetsList()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
- Specified by:
getFacetsList
in interfaceSearchResponseOrBuilder
-
getFacetsCount
public int getFacetsCount()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
- Specified by:
getFacetsCount
in interfaceSearchResponseOrBuilder
-
getFacets
public SearchResponse.Facet getFacets(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
- Specified by:
getFacets
in interfaceSearchResponseOrBuilder
-
setFacets
public SearchResponse.Builder setFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
setFacets
public SearchResponse.Builder setFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addFacets
public SearchResponse.Builder addFacets(SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addFacets
public SearchResponse.Builder addFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addFacets
public SearchResponse.Builder addFacets(SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addFacets
public SearchResponse.Builder addFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addAllFacets
public SearchResponse.Builder addAllFacets(Iterable<? extends SearchResponse.Facet> values)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
clearFacets
public SearchResponse.Builder clearFacets()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
removeFacets
public SearchResponse.Builder removeFacets(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
getFacetsBuilder
public SearchResponse.Facet.Builder getFacetsBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
getFacetsOrBuilder
public SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
- Specified by:
getFacetsOrBuilder
in interfaceSearchResponseOrBuilder
-
getFacetsOrBuilderList
public List<? extends SearchResponse.FacetOrBuilder> getFacetsOrBuilderList()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
- Specified by:
getFacetsOrBuilderList
in interfaceSearchResponseOrBuilder
-
addFacetsBuilder
public SearchResponse.Facet.Builder addFacetsBuilder()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
addFacetsBuilder
public SearchResponse.Facet.Builder addFacetsBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
getFacetsBuilderList
public List<SearchResponse.Facet.Builder> getFacetsBuilderList()
Results of facets requested by user.
repeated .google.cloud.retail.v2beta.SearchResponse.Facet facets = 2;
-
getTotalSize
public int getTotalSize()
The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.retail.v2beta.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2beta.SearchResponse.total_size] that matches.
int32 total_size = 3;
- Specified by:
getTotalSize
in interfaceSearchResponseOrBuilder
- Returns:
- The totalSize.
-
setTotalSize
public SearchResponse.Builder setTotalSize(int value)
The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.retail.v2beta.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2beta.SearchResponse.total_size] that matches.
int32 total_size = 3;
- Parameters:
value
- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
public SearchResponse.Builder clearTotalSize()
The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.retail.v2beta.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2beta.SearchResponse.total_size] that matches.
int32 total_size = 3;
- Returns:
- This builder for chaining.
-
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:
getCorrectedQuery
in 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:
getCorrectedQueryBytes
in interfaceSearchResponseOrBuilder
- Returns:
- The bytes for correctedQuery.
-
setCorrectedQuery
public SearchResponse.Builder setCorrectedQuery(String value)
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;
- Parameters:
value
- The correctedQuery to set.- Returns:
- This builder for chaining.
-
clearCorrectedQuery
public SearchResponse.Builder clearCorrectedQuery()
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;
- Returns:
- This builder for chaining.
-
setCorrectedQueryBytes
public SearchResponse.Builder setCorrectedQueryBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for correctedQuery to set.- Returns:
- This builder for chaining.
-
getAttributionToken
public String getAttributionToken()
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;
- Specified by:
getAttributionToken
in 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.v2beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;
- Specified by:
getAttributionTokenBytes
in interfaceSearchResponseOrBuilder
- Returns:
- The bytes for attributionToken.
-
setAttributionToken
public SearchResponse.Builder setAttributionToken(String value)
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;
- Parameters:
value
- The attributionToken to set.- Returns:
- This builder for chaining.
-
clearAttributionToken
public SearchResponse.Builder clearAttributionToken()
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;
- Returns:
- This builder for chaining.
-
setAttributionTokenBytes
public SearchResponse.Builder setAttributionTokenBytes(com.google.protobuf.ByteString value)
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;
- Parameters:
value
- The bytes for attributionToken to set.- Returns:
- This builder for chaining.
-
getNextPageToken
public String getNextPageToken()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.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:
getNextPageToken
in interfaceSearchResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.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:
getNextPageTokenBytes
in interfaceSearchResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public SearchResponse.Builder setNextPageToken(String value)
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public SearchResponse.Builder clearNextPageToken()
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2beta.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
hasQueryExpansionInfo
public boolean hasQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
- Specified by:
hasQueryExpansionInfo
in interfaceSearchResponseOrBuilder
- Returns:
- Whether the queryExpansionInfo field is set.
-
getQueryExpansionInfo
public SearchResponse.QueryExpansionInfo getQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
- Specified by:
getQueryExpansionInfo
in interfaceSearchResponseOrBuilder
- Returns:
- The queryExpansionInfo.
-
setQueryExpansionInfo
public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
-
setQueryExpansionInfo
public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue)
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
-
mergeQueryExpansionInfo
public SearchResponse.Builder mergeQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
-
clearQueryExpansionInfo
public SearchResponse.Builder clearQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
-
getQueryExpansionInfoBuilder
public SearchResponse.QueryExpansionInfo.Builder getQueryExpansionInfoBuilder()
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
-
getQueryExpansionInfoOrBuilder
public SearchResponse.QueryExpansionInfoOrBuilder getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.
.google.cloud.retail.v2beta.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
- Specified by:
getQueryExpansionInfoOrBuilder
in 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.v2beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;
- Specified by:
getRedirectUri
in 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.v2beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;
- Specified by:
getRedirectUriBytes
in interfaceSearchResponseOrBuilder
- Returns:
- The bytes for redirectUri.
-
setRedirectUri
public SearchResponse.Builder setRedirectUri(String value)
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;
- Parameters:
value
- The redirectUri to set.- Returns:
- This builder for chaining.
-
clearRedirectUri
public SearchResponse.Builder clearRedirectUri()
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;
- Returns:
- This builder for chaining.
-
setRedirectUriBytes
public SearchResponse.Builder setRedirectUriBytes(com.google.protobuf.ByteString value)
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;
- Parameters:
value
- The bytes for redirectUri to set.- Returns:
- This builder for chaining.
-
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:
getAppliedControlsList
in 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:
getAppliedControlsCount
in 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:
getAppliedControls
in 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:
getAppliedControlsBytes
in interfaceSearchResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the appliedControls at the given index.
-
setAppliedControls
public SearchResponse.Builder setAppliedControls(int index, String value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;
- Parameters:
index
- The index to set the value at.value
- The appliedControls to set.- Returns:
- This builder for chaining.
-
addAppliedControls
public SearchResponse.Builder addAppliedControls(String value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;
- Parameters:
value
- The appliedControls to add.- Returns:
- This builder for chaining.
-
addAllAppliedControls
public SearchResponse.Builder addAllAppliedControls(Iterable<String> values)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;
- Parameters:
values
- The appliedControls to add.- Returns:
- This builder for chaining.
-
clearAppliedControls
public SearchResponse.Builder clearAppliedControls()
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;
- Returns:
- This builder for chaining.
-
addAppliedControlsBytes
public SearchResponse.Builder addAppliedControlsBytes(com.google.protobuf.ByteString value)
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;
- Parameters:
value
- The bytes of the appliedControls to add.- Returns:
- This builder for chaining.
-
getInvalidConditionBoostSpecsList
public List<SearchRequest.BoostSpec.ConditionBoostSpec> getInvalidConditionBoostSpecsList()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
- Specified by:
getInvalidConditionBoostSpecsList
in interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsCount
public int getInvalidConditionBoostSpecsCount()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
- Specified by:
getInvalidConditionBoostSpecsCount
in interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecs
public SearchRequest.BoostSpec.ConditionBoostSpec getInvalidConditionBoostSpecs(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
- Specified by:
getInvalidConditionBoostSpecs
in interfaceSearchResponseOrBuilder
-
setInvalidConditionBoostSpecs
public SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
setInvalidConditionBoostSpecs
public SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addAllInvalidConditionBoostSpecs
public SearchResponse.Builder addAllInvalidConditionBoostSpecs(Iterable<? extends SearchRequest.BoostSpec.ConditionBoostSpec> values)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
clearInvalidConditionBoostSpecs
public SearchResponse.Builder clearInvalidConditionBoostSpecs()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
removeInvalidConditionBoostSpecs
public SearchResponse.Builder removeInvalidConditionBoostSpecs(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
getInvalidConditionBoostSpecsBuilder
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder getInvalidConditionBoostSpecsBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
getInvalidConditionBoostSpecsOrBuilder
public SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder getInvalidConditionBoostSpecsOrBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
- Specified by:
getInvalidConditionBoostSpecsOrBuilder
in interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsOrBuilderList
public List<? extends SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder> getInvalidConditionBoostSpecsOrBuilderList()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
- Specified by:
getInvalidConditionBoostSpecsOrBuilderList
in interfaceSearchResponseOrBuilder
-
addInvalidConditionBoostSpecsBuilder
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder addInvalidConditionBoostSpecsBuilder()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
addInvalidConditionBoostSpecsBuilder
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder addInvalidConditionBoostSpecsBuilder(int index)
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
getInvalidConditionBoostSpecsBuilderList
public List<SearchRequest.BoostSpec.ConditionBoostSpec.Builder> getInvalidConditionBoostSpecsBuilderList()
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2beta.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2beta.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
-
getExperimentInfoList
public List<ExperimentInfo> getExperimentInfoList()
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
- Specified by:
getExperimentInfoList
in 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.v2beta.ExperimentInfo experiment_info = 17;
- Specified by:
getExperimentInfoCount
in interfaceSearchResponseOrBuilder
-
getExperimentInfo
public ExperimentInfo getExperimentInfo(int index)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
- Specified by:
getExperimentInfo
in interfaceSearchResponseOrBuilder
-
setExperimentInfo
public SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
setExperimentInfo
public SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addExperimentInfo
public SearchResponse.Builder addExperimentInfo(ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addExperimentInfo
public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo value)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addExperimentInfo
public SearchResponse.Builder addExperimentInfo(ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addExperimentInfo
public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addAllExperimentInfo
public SearchResponse.Builder addAllExperimentInfo(Iterable<? extends ExperimentInfo> values)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
clearExperimentInfo
public SearchResponse.Builder clearExperimentInfo()
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
removeExperimentInfo
public SearchResponse.Builder removeExperimentInfo(int index)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
getExperimentInfoBuilder
public ExperimentInfo.Builder getExperimentInfoBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
getExperimentInfoOrBuilder
public ExperimentInfoOrBuilder getExperimentInfoOrBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
- Specified by:
getExperimentInfoOrBuilder
in interfaceSearchResponseOrBuilder
-
getExperimentInfoOrBuilderList
public List<? extends ExperimentInfoOrBuilder> getExperimentInfoOrBuilderList()
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
- Specified by:
getExperimentInfoOrBuilderList
in interfaceSearchResponseOrBuilder
-
addExperimentInfoBuilder
public ExperimentInfo.Builder addExperimentInfoBuilder()
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
addExperimentInfoBuilder
public ExperimentInfo.Builder addExperimentInfoBuilder(int index)
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
getExperimentInfoBuilderList
public List<ExperimentInfo.Builder> getExperimentInfoBuilderList()
Metadata related to A/B testing [Experiment][] associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2beta.ExperimentInfo experiment_info = 17;
-
setUnknownFields
public final SearchResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
mergeUnknownFields
public final SearchResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>
-
-