Class SearchRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.discoveryengine.v1beta.SearchRequest
-
- All Implemented Interfaces:
SearchRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SearchRequest extends com.google.protobuf.GeneratedMessageV3 implements SearchRequestOrBuilder
Request message for [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] method.
Protobuf typegoogle.cloud.discoveryengine.v1beta.SearchRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchRequest.BoostSpecBoost specification to boost certain documents.static interfaceSearchRequest.BoostSpecOrBuilderstatic classSearchRequest.BuilderRequest message for [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] method.static classSearchRequest.ContentSearchSpecA specification for configuring the behavior of content search.static interfaceSearchRequest.ContentSearchSpecOrBuilderstatic classSearchRequest.EmbeddingSpecThe specification that uses customized query embedding vector to do semantic document retrieval.static interfaceSearchRequest.EmbeddingSpecOrBuilderstatic classSearchRequest.FacetSpecA facet specification to perform faceted search.static interfaceSearchRequest.FacetSpecOrBuilderstatic classSearchRequest.ImageQuerySpecifies the image query input.static interfaceSearchRequest.ImageQueryOrBuilderstatic classSearchRequest.QueryExpansionSpecSpecification to determine under which conditions query expansion should occur.static interfaceSearchRequest.QueryExpansionSpecOrBuilderstatic classSearchRequest.SpellCorrectionSpecThe specification for query spell correction.static interfaceSearchRequest.SpellCorrectionSpecOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOST_SPEC_FIELD_NUMBERstatic intBRANCH_FIELD_NUMBERstatic intCONTENT_SEARCH_SPEC_FIELD_NUMBERstatic intEMBEDDING_SPEC_FIELD_NUMBERstatic intFACET_SPECS_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intIMAGE_QUERY_FIELD_NUMBERstatic intOFFSET_FIELD_NUMBERstatic intORDER_BY_FIELD_NUMBERstatic intPAGE_SIZE_FIELD_NUMBERstatic intPAGE_TOKEN_FIELD_NUMBERstatic intPARAMS_FIELD_NUMBERstatic intQUERY_EXPANSION_SPEC_FIELD_NUMBERstatic intQUERY_FIELD_NUMBERstatic intRANKING_EXPRESSION_FIELD_NUMBERstatic intSAFE_SEARCH_FIELD_NUMBERstatic intSERVING_CONFIG_FIELD_NUMBERstatic intSPELL_CORRECTION_SPEC_FIELD_NUMBERstatic intUSER_INFO_FIELD_NUMBERstatic intUSER_LABELS_FIELD_NUMBERstatic intUSER_PSEUDO_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsParams(String key)Additional search parameters.booleancontainsUserLabels(String key)The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.booleanequals(Object obj)SearchRequest.BoostSpecgetBoostSpec()Boost specification to boost certain documents.SearchRequest.BoostSpecOrBuildergetBoostSpecOrBuilder()Boost specification to boost certain documents.StringgetBranch()The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.com.google.protobuf.ByteStringgetBranchBytes()The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.SearchRequest.ContentSearchSpecgetContentSearchSpec()A specification for configuring the behavior of content search.SearchRequest.ContentSearchSpecOrBuildergetContentSearchSpecOrBuilder()A specification for configuring the behavior of content search.static SearchRequestgetDefaultInstance()SearchRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()SearchRequest.EmbeddingSpecgetEmbeddingSpec()Uses the provided embedding to do additional semantic document retrieval.SearchRequest.EmbeddingSpecOrBuildergetEmbeddingSpecOrBuilder()Uses the provided embedding to do additional semantic document retrieval.SearchRequest.FacetSpecgetFacetSpecs(int index)Facet specifications for faceted search.intgetFacetSpecsCount()Facet specifications for faceted search.List<SearchRequest.FacetSpec>getFacetSpecsList()Facet specifications for faceted search.SearchRequest.FacetSpecOrBuildergetFacetSpecsOrBuilder(int index)Facet specifications for faceted search.List<? extends SearchRequest.FacetSpecOrBuilder>getFacetSpecsOrBuilderList()Facet specifications for faceted search.StringgetFilter()The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.com.google.protobuf.ByteStringgetFilterBytes()The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.SearchRequest.ImageQuerygetImageQuery()Raw image query.SearchRequest.ImageQueryOrBuildergetImageQueryOrBuilder()Raw image query.intgetOffset()A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the [Document][google.cloud.discoveryengine.v1beta.Document]s deemed by the API as relevant) in search results.StringgetOrderBy()The order in which documents are returned.com.google.protobuf.ByteStringgetOrderByBytes()The order in which documents are returned.intgetPageSize()Maximum number of [Document][google.cloud.discoveryengine.v1beta.Document]s to return.StringgetPageToken()A page token received from a previous [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] call.com.google.protobuf.ByteStringgetPageTokenBytes()A page token received from a previous [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] call.Map<String,com.google.protobuf.Value>getParams()Deprecated.intgetParamsCount()Additional search parameters.Map<String,com.google.protobuf.Value>getParamsMap()Additional search parameters.com.google.protobuf.ValuegetParamsOrDefault(String key, com.google.protobuf.Value defaultValue)Additional search parameters.com.google.protobuf.ValuegetParamsOrThrow(String key)Additional search parameters.com.google.protobuf.Parser<SearchRequest>getParserForType()StringgetQuery()Raw search query.com.google.protobuf.ByteStringgetQueryBytes()Raw search query.SearchRequest.QueryExpansionSpecgetQueryExpansionSpec()The query expansion specification that specifies the conditions under which query expansion occurs.SearchRequest.QueryExpansionSpecOrBuildergetQueryExpansionSpecOrBuilder()The query expansion specification that specifies the conditions under which query expansion occurs.StringgetRankingExpression()The ranking expression controls the customized ranking on retrieval documents.com.google.protobuf.ByteStringgetRankingExpressionBytes()The ranking expression controls the customized ranking on retrieval documents.booleangetSafeSearch()Whether to turn on safe search.intgetSerializedSize()StringgetServingConfig()Required.com.google.protobuf.ByteStringgetServingConfigBytes()Required.SearchRequest.SpellCorrectionSpecgetSpellCorrectionSpec()The spell correction specification that specifies the mode under which spell correction takes effect.SearchRequest.SpellCorrectionSpecOrBuildergetSpellCorrectionSpecOrBuilder()The spell correction specification that specifies the mode under which spell correction takes effect.UserInfogetUserInfo()Information about the end user.UserInfoOrBuildergetUserInfoOrBuilder()Information about the end user.Map<String,String>getUserLabels()Deprecated.intgetUserLabelsCount()The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.Map<String,String>getUserLabelsMap()The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.StringgetUserLabelsOrDefault(String key, String defaultValue)The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.StringgetUserLabelsOrThrow(String key)The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.StringgetUserPseudoId()A unique identifier for tracking visitors.com.google.protobuf.ByteStringgetUserPseudoIdBytes()A unique identifier for tracking visitors.booleanhasBoostSpec()Boost specification to boost certain documents.booleanhasContentSearchSpec()A specification for configuring the behavior of content search.booleanhasEmbeddingSpec()Uses the provided embedding to do additional semantic document retrieval.inthashCode()booleanhasImageQuery()Raw image query.booleanhasQueryExpansionSpec()The query expansion specification that specifies the conditions under which query expansion occurs.booleanhasSpellCorrectionSpec()The spell correction specification that specifies the mode under which spell correction takes effect.booleanhasUserInfo()Information about the end user.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static SearchRequest.BuildernewBuilder()static SearchRequest.BuildernewBuilder(SearchRequest prototype)SearchRequest.BuildernewBuilderForType()protected SearchRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SearchRequestparseDelimitedFrom(InputStream input)static SearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestparseFrom(byte[] data)static SearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestparseFrom(com.google.protobuf.ByteString data)static SearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestparseFrom(com.google.protobuf.CodedInputStream input)static SearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestparseFrom(InputStream input)static SearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestparseFrom(ByteBuffer data)static SearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SearchRequest>parser()SearchRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVING_CONFIG_FIELD_NUMBER
public static final int SERVING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BRANCH_FIELD_NUMBER
public static final int BRANCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_QUERY_FIELD_NUMBER
public static final int IMAGE_QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_INFO_FIELD_NUMBER
public static final int USER_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FACET_SPECS_FIELD_NUMBER
public static final int FACET_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOST_SPEC_FIELD_NUMBER
public static final int BOOST_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_EXPANSION_SPEC_FIELD_NUMBER
public static final int QUERY_EXPANSION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPELL_CORRECTION_SPEC_FIELD_NUMBER
public static final int SPELL_CORRECTION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_PSEUDO_ID_FIELD_NUMBER
public static final int USER_PSEUDO_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_SEARCH_SPEC_FIELD_NUMBER
public static final int CONTENT_SEARCH_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMBEDDING_SPEC_FIELD_NUMBER
public static final int EMBEDDING_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANKING_EXPRESSION_FIELD_NUMBER
public static final int RANKING_EXPRESSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAFE_SEARCH_FIELD_NUMBER
public static final int SAFE_SEARCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_LABELS_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getServingConfig
public String getServingConfig()
Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServingConfigin interfaceSearchRequestOrBuilder- Returns:
- The servingConfig.
-
getServingConfigBytes
public com.google.protobuf.ByteString getServingConfigBytes()
Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServingConfigBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for servingConfig.
-
getBranch
public String getBranch()
The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.
string branch = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getBranchin interfaceSearchRequestOrBuilder- Returns:
- The branch.
-
getBranchBytes
public com.google.protobuf.ByteString getBranchBytes()
The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.
string branch = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getBranchBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for branch.
-
getQuery
public String getQuery()
Raw search query.
string query = 3;- Specified by:
getQueryin interfaceSearchRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
Raw search query.
string query = 3;- Specified by:
getQueryBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for query.
-
hasImageQuery
public boolean hasImageQuery()
Raw image query.
.google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery image_query = 19;- Specified by:
hasImageQueryin interfaceSearchRequestOrBuilder- Returns:
- Whether the imageQuery field is set.
-
getImageQuery
public SearchRequest.ImageQuery getImageQuery()
Raw image query.
.google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery image_query = 19;- Specified by:
getImageQueryin interfaceSearchRequestOrBuilder- Returns:
- The imageQuery.
-
getImageQueryOrBuilder
public SearchRequest.ImageQueryOrBuilder getImageQueryOrBuilder()
Raw image query.
.google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery image_query = 19;- Specified by:
getImageQueryOrBuilderin interfaceSearchRequestOrBuilder
-
getPageSize
public int getPageSize()
Maximum number of [Document][google.cloud.discoveryengine.v1beta.Document]s to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 100. Values above 100 are coerced to 100. If this field is negative, an `INVALID_ARGUMENT` is returned.
int32 page_size = 4;- Specified by:
getPageSizein interfaceSearchRequestOrBuilder- Returns:
- The pageSize.
-
getPageToken
public String getPageToken()
A page token received from a previous [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
string page_token = 5;- Specified by:
getPageTokenin interfaceSearchRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
A page token received from a previous [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
string page_token = 5;- Specified by:
getPageTokenBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for pageToken.
-
getOffset
public int getOffset()
A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the [Document][google.cloud.discoveryengine.v1beta.Document]s deemed by the API as relevant) in search results. This field is only considered if [page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.
int32 offset = 6;- Specified by:
getOffsetin interfaceSearchRequestOrBuilder- Returns:
- The offset.
-
getFilter
public String getFilter()
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string filter = 7;- Specified by:
getFilterin interfaceSearchRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string filter = 7;- Specified by:
getFilterBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for filter.
-
getOrderBy
public String getOrderBy()
The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 8;- Specified by:
getOrderByin interfaceSearchRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 8;- Specified by:
getOrderByBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for orderBy.
-
hasUserInfo
public boolean hasUserInfo()
Information about the end user. Highly recommended for analytics. [UserInfo.user_agent][google.cloud.discoveryengine.v1beta.UserInfo.user_agent] is used to deduce `device_type` for analytics.
.google.cloud.discoveryengine.v1beta.UserInfo user_info = 21;- Specified by:
hasUserInfoin interfaceSearchRequestOrBuilder- Returns:
- Whether the userInfo field is set.
-
getUserInfo
public UserInfo getUserInfo()
Information about the end user. Highly recommended for analytics. [UserInfo.user_agent][google.cloud.discoveryengine.v1beta.UserInfo.user_agent] is used to deduce `device_type` for analytics.
.google.cloud.discoveryengine.v1beta.UserInfo user_info = 21;- Specified by:
getUserInfoin interfaceSearchRequestOrBuilder- Returns:
- The userInfo.
-
getUserInfoOrBuilder
public UserInfoOrBuilder getUserInfoOrBuilder()
Information about the end user. Highly recommended for analytics. [UserInfo.user_agent][google.cloud.discoveryengine.v1beta.UserInfo.user_agent] is used to deduce `device_type` for analytics.
.google.cloud.discoveryengine.v1beta.UserInfo user_info = 21;- Specified by:
getUserInfoOrBuilderin interfaceSearchRequestOrBuilder
-
getFacetSpecsList
public List<SearchRequest.FacetSpec> getFacetSpecsList()
Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec facet_specs = 9;- Specified by:
getFacetSpecsListin interfaceSearchRequestOrBuilder
-
getFacetSpecsOrBuilderList
public List<? extends SearchRequest.FacetSpecOrBuilder> getFacetSpecsOrBuilderList()
Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec facet_specs = 9;- Specified by:
getFacetSpecsOrBuilderListin interfaceSearchRequestOrBuilder
-
getFacetSpecsCount
public int getFacetSpecsCount()
Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec facet_specs = 9;- Specified by:
getFacetSpecsCountin interfaceSearchRequestOrBuilder
-
getFacetSpecs
public SearchRequest.FacetSpec getFacetSpecs(int index)
Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec facet_specs = 9;- Specified by:
getFacetSpecsin interfaceSearchRequestOrBuilder
-
getFacetSpecsOrBuilder
public SearchRequest.FacetSpecOrBuilder getFacetSpecsOrBuilder(int index)
Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec facet_specs = 9;- Specified by:
getFacetSpecsOrBuilderin interfaceSearchRequestOrBuilder
-
hasBoostSpec
public boolean hasBoostSpec()
Boost specification to boost certain documents.
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 10;- Specified by:
hasBoostSpecin interfaceSearchRequestOrBuilder- Returns:
- Whether the boostSpec field is set.
-
getBoostSpec
public SearchRequest.BoostSpec getBoostSpec()
Boost specification to boost certain documents.
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 10;- Specified by:
getBoostSpecin interfaceSearchRequestOrBuilder- Returns:
- The boostSpec.
-
getBoostSpecOrBuilder
public SearchRequest.BoostSpecOrBuilder getBoostSpecOrBuilder()
Boost specification to boost certain documents.
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 10;- Specified by:
getBoostSpecOrBuilderin interfaceSearchRequestOrBuilder
-
getParamsCount
public int getParamsCount()
Description copied from interface:SearchRequestOrBuilderAdditional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching.map<string, .google.protobuf.Value> params = 11;- Specified by:
getParamsCountin interfaceSearchRequestOrBuilder
-
containsParams
public boolean containsParams(String key)
Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching.map<string, .google.protobuf.Value> params = 11;- Specified by:
containsParamsin interfaceSearchRequestOrBuilder
-
getParams
@Deprecated public Map<String,com.google.protobuf.Value> getParams()
Deprecated.UsegetParamsMap()instead.- Specified by:
getParamsin interfaceSearchRequestOrBuilder
-
getParamsMap
public Map<String,com.google.protobuf.Value> getParamsMap()
Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching.map<string, .google.protobuf.Value> params = 11;- Specified by:
getParamsMapin interfaceSearchRequestOrBuilder
-
getParamsOrDefault
public com.google.protobuf.Value getParamsOrDefault(String key, com.google.protobuf.Value defaultValue)
Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching.map<string, .google.protobuf.Value> params = 11;- Specified by:
getParamsOrDefaultin interfaceSearchRequestOrBuilder
-
getParamsOrThrow
public com.google.protobuf.Value getParamsOrThrow(String key)
Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching.map<string, .google.protobuf.Value> params = 11;- Specified by:
getParamsOrThrowin interfaceSearchRequestOrBuilder
-
hasQueryExpansionSpec
public boolean hasQueryExpansionSpec()
The query expansion specification that specifies the conditions under which query expansion occurs.
.google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec query_expansion_spec = 13;- Specified by:
hasQueryExpansionSpecin interfaceSearchRequestOrBuilder- Returns:
- Whether the queryExpansionSpec field is set.
-
getQueryExpansionSpec
public SearchRequest.QueryExpansionSpec getQueryExpansionSpec()
The query expansion specification that specifies the conditions under which query expansion occurs.
.google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec query_expansion_spec = 13;- Specified by:
getQueryExpansionSpecin interfaceSearchRequestOrBuilder- Returns:
- The queryExpansionSpec.
-
getQueryExpansionSpecOrBuilder
public SearchRequest.QueryExpansionSpecOrBuilder getQueryExpansionSpecOrBuilder()
The query expansion specification that specifies the conditions under which query expansion occurs.
.google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec query_expansion_spec = 13;- Specified by:
getQueryExpansionSpecOrBuilderin interfaceSearchRequestOrBuilder
-
hasSpellCorrectionSpec
public boolean hasSpellCorrectionSpec()
The spell correction specification that specifies the mode under which spell correction takes effect.
.google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec spell_correction_spec = 14;- Specified by:
hasSpellCorrectionSpecin interfaceSearchRequestOrBuilder- Returns:
- Whether the spellCorrectionSpec field is set.
-
getSpellCorrectionSpec
public SearchRequest.SpellCorrectionSpec getSpellCorrectionSpec()
The spell correction specification that specifies the mode under which spell correction takes effect.
.google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec spell_correction_spec = 14;- Specified by:
getSpellCorrectionSpecin interfaceSearchRequestOrBuilder- Returns:
- The spellCorrectionSpec.
-
getSpellCorrectionSpecOrBuilder
public SearchRequest.SpellCorrectionSpecOrBuilder getSpellCorrectionSpecOrBuilder()
The spell correction specification that specifies the mode under which spell correction takes effect.
.google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec spell_correction_spec = 14;- Specified by:
getSpellCorrectionSpecOrBuilderin interfaceSearchRequestOrBuilder
-
getUserPseudoId
public String getUserPseudoId()
A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as [UserEvent.user_pseudo_id][google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id] and [CompleteQueryRequest.user_pseudo_id][google.cloud.discoveryengine.v1beta.CompleteQueryRequest.user_pseudo_id] The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string user_pseudo_id = 15;- Specified by:
getUserPseudoIdin interfaceSearchRequestOrBuilder- Returns:
- The userPseudoId.
-
getUserPseudoIdBytes
public com.google.protobuf.ByteString getUserPseudoIdBytes()
A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as [UserEvent.user_pseudo_id][google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id] and [CompleteQueryRequest.user_pseudo_id][google.cloud.discoveryengine.v1beta.CompleteQueryRequest.user_pseudo_id] The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string user_pseudo_id = 15;- Specified by:
getUserPseudoIdBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for userPseudoId.
-
hasContentSearchSpec
public boolean hasContentSearchSpec()
A specification for configuring the behavior of content search.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 24;- Specified by:
hasContentSearchSpecin interfaceSearchRequestOrBuilder- Returns:
- Whether the contentSearchSpec field is set.
-
getContentSearchSpec
public SearchRequest.ContentSearchSpec getContentSearchSpec()
A specification for configuring the behavior of content search.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 24;- Specified by:
getContentSearchSpecin interfaceSearchRequestOrBuilder- Returns:
- The contentSearchSpec.
-
getContentSearchSpecOrBuilder
public SearchRequest.ContentSearchSpecOrBuilder getContentSearchSpecOrBuilder()
A specification for configuring the behavior of content search.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 24;- Specified by:
getContentSearchSpecOrBuilderin interfaceSearchRequestOrBuilder
-
hasEmbeddingSpec
public boolean hasEmbeddingSpec()
Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of [SearchRequest.embedding_spec.embedding_vectors.vector][] and the document embedding that is provided in [SearchRequest.embedding_spec.embedding_vectors.field_path][]. If [SearchRequest.embedding_spec.embedding_vectors.field_path][] is not provided, it will use [ServingConfig.embedding_config.field_paths][].
.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec embedding_spec = 23;- Specified by:
hasEmbeddingSpecin interfaceSearchRequestOrBuilder- Returns:
- Whether the embeddingSpec field is set.
-
getEmbeddingSpec
public SearchRequest.EmbeddingSpec getEmbeddingSpec()
Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of [SearchRequest.embedding_spec.embedding_vectors.vector][] and the document embedding that is provided in [SearchRequest.embedding_spec.embedding_vectors.field_path][]. If [SearchRequest.embedding_spec.embedding_vectors.field_path][] is not provided, it will use [ServingConfig.embedding_config.field_paths][].
.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec embedding_spec = 23;- Specified by:
getEmbeddingSpecin interfaceSearchRequestOrBuilder- Returns:
- The embeddingSpec.
-
getEmbeddingSpecOrBuilder
public SearchRequest.EmbeddingSpecOrBuilder getEmbeddingSpecOrBuilder()
Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of [SearchRequest.embedding_spec.embedding_vectors.vector][] and the document embedding that is provided in [SearchRequest.embedding_spec.embedding_vectors.field_path][]. If [SearchRequest.embedding_spec.embedding_vectors.field_path][] is not provided, it will use [ServingConfig.embedding_config.field_paths][].
.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec embedding_spec = 23;- Specified by:
getEmbeddingSpecOrBuilderin interfaceSearchRequestOrBuilder
-
getRankingExpression
public String getRankingExpression()
The ranking expression controls the customized ranking on retrieval documents. This overrides [ServingConfig.ranking_expression][]. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.string ranking_expression = 26;- Specified by:
getRankingExpressionin interfaceSearchRequestOrBuilder- Returns:
- The rankingExpression.
-
getRankingExpressionBytes
public com.google.protobuf.ByteString getRankingExpressionBytes()
The ranking expression controls the customized ranking on retrieval documents. This overrides [ServingConfig.ranking_expression][]. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.string ranking_expression = 26;- Specified by:
getRankingExpressionBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for rankingExpression.
-
getSafeSearch
public boolean getSafeSearch()
Whether to turn on safe search. This is only supported for website search.
bool safe_search = 20;- Specified by:
getSafeSearchin interfaceSearchRequestOrBuilder- Returns:
- The safeSearch.
-
getUserLabelsCount
public int getUserLabelsCount()
Description copied from interface:SearchRequestOrBuilderThe user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 22;- Specified by:
getUserLabelsCountin interfaceSearchRequestOrBuilder
-
containsUserLabels
public boolean containsUserLabels(String key)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 22;- Specified by:
containsUserLabelsin interfaceSearchRequestOrBuilder
-
getUserLabels
@Deprecated public Map<String,String> getUserLabels()
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceSearchRequestOrBuilder
-
getUserLabelsMap
public Map<String,String> getUserLabelsMap()
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 22;- Specified by:
getUserLabelsMapin interfaceSearchRequestOrBuilder
-
getUserLabelsOrDefault
public String getUserLabelsOrDefault(String key, String defaultValue)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 22;- Specified by:
getUserLabelsOrDefaultin interfaceSearchRequestOrBuilder
-
getUserLabelsOrThrow
public String getUserLabelsOrThrow(String key)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 22;- Specified by:
getUserLabelsOrThrowin interfaceSearchRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SearchRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchRequest.Builder newBuilder()
-
newBuilder
public static SearchRequest.Builder newBuilder(SearchRequest prototype)
-
toBuilder
public SearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SearchRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SearchRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<SearchRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SearchRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-