public static final class SearchResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder> implements SearchResponseOrBuilder
Response message for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search] method.Protobuf type
google.cloud.retail.v2alpha.SearchResponse| Modifier and Type | Method and 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][google.cloud.retail.v2alpha.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.v2alpha.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(ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
addExperimentInfo(ExperimentInfo value)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
addExperimentInfo(int index,
ExperimentInfo.Builder builderForValue)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
addExperimentInfo(int index,
ExperimentInfo value)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
ExperimentInfo.Builder |
addExperimentInfoBuilder()
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
ExperimentInfo.Builder |
addExperimentInfoBuilder(int index)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
addFacets(int index,
SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
|
SearchResponse.Builder |
addFacets(int index,
SearchResponse.Facet value)
Results of facets requested by user.
|
SearchResponse.Builder |
addFacets(SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
|
SearchResponse.Builder |
addFacets(SearchResponse.Facet value)
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.Builder builderForValue)
The invalid
[SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
that are not applied during serving.
|
SearchResponse.Builder |
addInvalidConditionBoostSpecs(int index,
SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid
[SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.Builder builderForValue)
A list of matched items.
|
SearchResponse.Builder |
addResults(int index,
SearchResponse.SearchResult value)
A list of matched items.
|
SearchResponse.Builder |
addResults(SearchResponse.SearchResult.Builder builderForValue)
A list of matched items.
|
SearchResponse.Builder |
addResults(SearchResponse.SearchResult value)
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][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
ExperimentInfo.Builder |
getExperimentInfoBuilder(int index)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
List<ExperimentInfo.Builder> |
getExperimentInfoBuilderList()
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
int |
getExperimentInfoCount()
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.
|
ExperimentInfoOrBuilder |
getExperimentInfoOrBuilder(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.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.v2alpha.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.v2alpha.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.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
that are not applied during serving.
|
int |
getInvalidConditionBoostSpecsCount()
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.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.
|
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.
|
String |
getNextPageToken()
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.ByteString |
getNextPageTokenBytes()
A token that can be sent as
[SearchRequest.page_token][google.cloud.retail.v2alpha.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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SearchResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
SearchResponse.Builder |
mergeFrom(SearchResponse 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][google.cloud.retail.v2alpha.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.v2alpha.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.Builder builderForValue)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
setExperimentInfo(int index,
ExperimentInfo value)
Metadata related to A/B testing
[Experiment][google.cloud.retail.v2alpha.Experiment] associated with this
response.
|
SearchResponse.Builder |
setFacets(int index,
SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
|
SearchResponse.Builder |
setFacets(int index,
SearchResponse.Facet value)
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.Builder builderForValue)
The invalid
[SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
that are not applied during serving.
|
SearchResponse.Builder |
setInvalidConditionBoostSpecs(int index,
SearchRequest.BoostSpec.ConditionBoostSpec value)
The invalid
[SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.SearchRequest.page_token]
to retrieve the next page.
|
SearchResponse.Builder |
setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue)
Query expansion information for the returned results.
|
SearchResponse.Builder |
setQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
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.Builder builderForValue)
A list of matched items.
|
SearchResponse.Builder |
setResults(int index,
SearchResponse.SearchResult value)
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SearchResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SearchResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SearchResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>public SearchResponse.Builder mergeFrom(SearchResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public SearchResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>IOExceptionpublic List<SearchResponse.SearchResult> getResultsList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;getResultsList in interface SearchResponseOrBuilderpublic int getResultsCount()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;getResultsCount in interface SearchResponseOrBuilderpublic SearchResponse.SearchResult getResults(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;getResults in interface SearchResponseOrBuilderpublic SearchResponse.Builder setResults(int index, SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder addResults(SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult value)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder addResults(SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult.Builder builderForValue)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder addAllResults(Iterable<? extends SearchResponse.SearchResult> values)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder clearResults()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.Builder removeResults(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.SearchResult.Builder getResultsBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;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;getResultsOrBuilder in interface SearchResponseOrBuilderpublic List<? extends SearchResponse.SearchResultOrBuilder> getResultsOrBuilderList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;getResultsOrBuilderList in interface SearchResponseOrBuilderpublic SearchResponse.SearchResult.Builder addResultsBuilder()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public SearchResponse.SearchResult.Builder addResultsBuilder(int index)
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public List<SearchResponse.SearchResult.Builder> getResultsBuilderList()
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;public List<SearchResponse.Facet> getFacetsList()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;getFacetsList in interface SearchResponseOrBuilderpublic int getFacetsCount()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;getFacetsCount in interface SearchResponseOrBuilderpublic SearchResponse.Facet getFacets(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;getFacets in interface SearchResponseOrBuilderpublic SearchResponse.Builder setFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder setFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder addFacets(SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder addFacets(int index, SearchResponse.Facet value)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder addFacets(SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder addFacets(int index, SearchResponse.Facet.Builder builderForValue)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder addAllFacets(Iterable<? extends SearchResponse.Facet> values)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder clearFacets()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Builder removeFacets(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Facet.Builder getFacetsBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;getFacetsOrBuilder in interface SearchResponseOrBuilderpublic List<? extends SearchResponse.FacetOrBuilder> getFacetsOrBuilderList()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;getFacetsOrBuilderList in interface SearchResponseOrBuilderpublic SearchResponse.Facet.Builder addFacetsBuilder()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public SearchResponse.Facet.Builder addFacetsBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;public List<SearchResponse.Facet.Builder> getFacetsBuilderList()
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;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;getTotalSize in interface SearchResponseOrBuilderpublic SearchResponse.Builder setTotalSize(int value)
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;value - The totalSize to set.public SearchResponse.Builder clearTotalSize()
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;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;getCorrectedQuery in interface SearchResponseOrBuilderpublic 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;getCorrectedQueryBytes in interface SearchResponseOrBuilderpublic 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;value - The correctedQuery to set.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;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;value - The bytes for correctedQuery to set.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;getAttributionToken in interface SearchResponseOrBuilderpublic 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;getAttributionTokenBytes in interface SearchResponseOrBuilderpublic SearchResponse.Builder setAttributionToken(String value)
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;value - The attributionToken to set.public SearchResponse.Builder clearAttributionToken()
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;public SearchResponse.Builder setAttributionTokenBytes(com.google.protobuf.ByteString value)
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;value - The bytes for attributionToken to set.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;getNextPageToken in interface SearchResponseOrBuilderpublic 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;getNextPageTokenBytes in interface SearchResponseOrBuilderpublic SearchResponse.Builder setNextPageToken(String value)
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;value - The nextPageToken to set.public SearchResponse.Builder clearNextPageToken()
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;public SearchResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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;value - The bytes for nextPageToken to set.public boolean hasQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
hasQueryExpansionInfo in interface SearchResponseOrBuilderpublic SearchResponse.QueryExpansionInfo getQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
getQueryExpansionInfo in interface SearchResponseOrBuilderpublic SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue)
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
public SearchResponse.Builder mergeQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
public SearchResponse.Builder clearQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
public SearchResponse.QueryExpansionInfo.Builder getQueryExpansionInfoBuilder()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
public SearchResponse.QueryExpansionInfoOrBuilder getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
getQueryExpansionInfoOrBuilder in interface SearchResponseOrBuilderpublic 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;getRedirectUri in interface SearchResponseOrBuilderpublic 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;getRedirectUriBytes in interface SearchResponseOrBuilderpublic 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.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;value - The redirectUri to set.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.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;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.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;value - The bytes for redirectUri to set.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;getAppliedControlsList in interface SearchResponseOrBuilderpublic int getAppliedControlsCount()
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;getAppliedControlsCount in interface SearchResponseOrBuilderpublic 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;getAppliedControls in interface SearchResponseOrBuilderindex - The index of the element to return.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;getAppliedControlsBytes in interface SearchResponseOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The appliedControls to set.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;value - The appliedControls to add.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;values - The appliedControls to add.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;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;value - The bytes of the appliedControls to add.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;
getInvalidConditionBoostSpecsList in interface SearchResponseOrBuilderpublic 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;
getInvalidConditionBoostSpecsCount in interface SearchResponseOrBuilderpublic 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;
getInvalidConditionBoostSpecs in interface SearchResponseOrBuilderpublic SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
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;
public SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
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;
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec value)
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;
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value)
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;
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
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;
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
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;
public SearchResponse.Builder addAllInvalidConditionBoostSpecs(Iterable<? extends SearchRequest.BoostSpec.ConditionBoostSpec> values)
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;
public SearchResponse.Builder clearInvalidConditionBoostSpecs()
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;
public SearchResponse.Builder removeInvalidConditionBoostSpecs(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;
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder getInvalidConditionBoostSpecsBuilder(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;
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;
getInvalidConditionBoostSpecsOrBuilder in interface SearchResponseOrBuilderpublic 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;
getInvalidConditionBoostSpecsOrBuilderList in interface SearchResponseOrBuilderpublic SearchRequest.BoostSpec.ConditionBoostSpec.Builder addInvalidConditionBoostSpecsBuilder()
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;
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder addInvalidConditionBoostSpecsBuilder(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;
public List<SearchRequest.BoostSpec.ConditionBoostSpec.Builder> getInvalidConditionBoostSpecsBuilderList()
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;
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;getExperimentInfoList in interface SearchResponseOrBuilderpublic 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;getExperimentInfoCount in interface SearchResponseOrBuilderpublic 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;getExperimentInfo in interface SearchResponseOrBuilderpublic SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo value)
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;public SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
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;public SearchResponse.Builder addExperimentInfo(ExperimentInfo value)
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;public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo value)
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;public SearchResponse.Builder addExperimentInfo(ExperimentInfo.Builder builderForValue)
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;public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
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;public SearchResponse.Builder addAllExperimentInfo(Iterable<? extends ExperimentInfo> values)
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;public SearchResponse.Builder clearExperimentInfo()
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;public SearchResponse.Builder removeExperimentInfo(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;public ExperimentInfo.Builder getExperimentInfoBuilder(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;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;getExperimentInfoOrBuilder in interface SearchResponseOrBuilderpublic 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;getExperimentInfoOrBuilderList in interface SearchResponseOrBuilderpublic ExperimentInfo.Builder addExperimentInfoBuilder()
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;public ExperimentInfo.Builder addExperimentInfoBuilder(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;public List<ExperimentInfo.Builder> getExperimentInfoBuilderList()
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;public final SearchResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>public final SearchResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.