Package com.google.cloud.retail.v2alpha
Class ConversationalSearchRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.ConversationalSearchRequest
- All Implemented Interfaces:
ConversationalSearchRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ConversationalSearchRequest
extends com.google.protobuf.GeneratedMessage
implements ConversationalSearchRequestOrBuilder
Request message for [ConversationalSearchService.ConversationalSearch][google.cloud.retail.v2alpha.ConversationalSearchService.ConversationalSearch] method.Protobuf type
google.cloud.retail.v2alpha.ConversationalSearchRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for [ConversationalSearchService.ConversationalSearch][google.cloud.retail.v2alpha.ConversationalSearchService.ConversationalSearch] method.static final classThis field specifies all conversational filtering related parameters addition to conversational retail search.static interfacestatic final classSearch parameters.static interfacestatic final classThis field specifies the current user answer during the conversational filtering search.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsUserLabels(String key) Optional.booleanRequired.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static ConversationalSearchRequeststatic final com.google.protobuf.Descriptors.DescriptorgetPageCategories(int index) Optional.com.google.protobuf.ByteStringgetPageCategoriesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.Parser<ConversationalSearchRequest>Required.com.google.protobuf.ByteStringRequired.getQuery()Optional.com.google.protobuf.ByteStringOptional.getSafetySettings(int index) Optional.intOptional.Optional.getSafetySettingsOrBuilder(int index) Optional.List<? extends SafetySettingOrBuilder>Optional.Optional.Optional.intOptional.Optional.Deprecated.intOptional.Optional.getUserLabelsOrDefault(String key, String defaultValue) Optional.Optional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.inthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(ConversationalSearchRequest prototype) protected ConversationalSearchRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ConversationalSearchRequestparseDelimitedFrom(InputStream input) static ConversationalSearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationalSearchRequestparseFrom(byte[] data) static ConversationalSearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationalSearchRequestparseFrom(com.google.protobuf.ByteString data) static ConversationalSearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationalSearchRequestparseFrom(com.google.protobuf.CodedInputStream input) static ConversationalSearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationalSearchRequestparseFrom(InputStream input) static ConversationalSearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationalSearchRequestparseFrom(ByteBuffer data) static ConversationalSearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConversationalSearchRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PLACEMENT_FIELD_NUMBER
public static final int PLACEMENT_FIELD_NUMBER- See Also:
-
BRANCH_FIELD_NUMBER
public static final int BRANCH_FIELD_NUMBER- See Also:
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER- See Also:
-
PAGE_CATEGORIES_FIELD_NUMBER
public static final int PAGE_CATEGORIES_FIELD_NUMBER- See Also:
-
CONVERSATION_ID_FIELD_NUMBER
public static final int CONVERSATION_ID_FIELD_NUMBER- See Also:
-
SEARCH_PARAMS_FIELD_NUMBER
public static final int SEARCH_PARAMS_FIELD_NUMBER- See Also:
-
VISITOR_ID_FIELD_NUMBER
public static final int VISITOR_ID_FIELD_NUMBER- See Also:
-
USER_INFO_FIELD_NUMBER
public static final int USER_INFO_FIELD_NUMBER- See Also:
-
CONVERSATIONAL_FILTERING_SPEC_FIELD_NUMBER
public static final int CONVERSATIONAL_FILTERING_SPEC_FIELD_NUMBER- See Also:
-
USER_LABELS_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER- See Also:
-
SAFETY_SETTINGS_FIELD_NUMBER
public static final int SAFETY_SETTINGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPlacement
Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.
string placement = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlacementin interfaceConversationalSearchRequestOrBuilder- Returns:
- The placement.
-
getPlacementBytes
public com.google.protobuf.ByteString getPlacementBytes()Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.
string placement = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlacementBytesin interfaceConversationalSearchRequestOrBuilder- Returns:
- The bytes for placement.
-
getBranch
Required. The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use "default_branch" as the branch ID or leave this field empty, to search products under the default branch.
string branch = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getBranchin interfaceConversationalSearchRequestOrBuilder- Returns:
- The branch.
-
getBranchBytes
public com.google.protobuf.ByteString getBranchBytes()Required. The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use "default_branch" as the branch ID or leave this field empty, to search products under the default branch.
string branch = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getBranchBytesin interfaceConversationalSearchRequestOrBuilder- Returns:
- The bytes for branch.
-
getQuery
Optional. Raw search query to be searched for. If this field is empty, the request is considered a category browsing request.
string query = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQueryin interfaceConversationalSearchRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()Optional. Raw search query to be searched for. If this field is empty, the request is considered a category browsing request.
string query = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQueryBytesin interfaceConversationalSearchRequestOrBuilder- Returns:
- The bytes for query.
-
getPageCategoriesList
public com.google.protobuf.ProtocolStringList getPageCategoriesList()Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories]; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
repeated string page_categories = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageCategoriesListin interfaceConversationalSearchRequestOrBuilder- Returns:
- A list containing the pageCategories.
-
getPageCategoriesCount
public int getPageCategoriesCount()Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories]; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
repeated string page_categories = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageCategoriesCountin interfaceConversationalSearchRequestOrBuilder- Returns:
- The count of pageCategories.
-
getPageCategories
Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories]; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
repeated string page_categories = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageCategoriesin interfaceConversationalSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pageCategories at the given index.
-
getPageCategoriesBytes
public com.google.protobuf.ByteString getPageCategoriesBytes(int index) Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories]; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
repeated string page_categories = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageCategoriesBytesin interfaceConversationalSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pageCategories at the given index.
-
getConversationId
Optional. This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous [ConversationalSearchResponse.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchResponse.conversation_id]. For the initial request, this should be empty.
string conversation_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationIdin interfaceConversationalSearchRequestOrBuilder- Returns:
- The conversationId.
-
getConversationIdBytes
public com.google.protobuf.ByteString getConversationIdBytes()Optional. This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous [ConversationalSearchResponse.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchResponse.conversation_id]. For the initial request, this should be empty.
string conversation_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationIdBytesin interfaceConversationalSearchRequestOrBuilder- Returns:
- The bytes for conversationId.
-
hasSearchParams
public boolean hasSearchParams()Optional. Search parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.SearchParams search_params = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSearchParamsin interfaceConversationalSearchRequestOrBuilder- Returns:
- Whether the searchParams field is set.
-
getSearchParams
Optional. Search parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.SearchParams search_params = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchParamsin interfaceConversationalSearchRequestOrBuilder- Returns:
- The searchParams.
-
getSearchParamsOrBuilder
Optional. Search parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.SearchParams search_params = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchParamsOrBuilderin interfaceConversationalSearchRequestOrBuilder
-
getVisitorId
Required. 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 should be the same identifier as [UserEvent.visitor_id][google.cloud.retail.v2alpha.UserEvent.visitor_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 visitor_id = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisitorIdin interfaceConversationalSearchRequestOrBuilder- Returns:
- The visitorId.
-
getVisitorIdBytes
public com.google.protobuf.ByteString getVisitorIdBytes()Required. 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 should be the same identifier as [UserEvent.visitor_id][google.cloud.retail.v2alpha.UserEvent.visitor_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 visitor_id = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisitorIdBytesin interfaceConversationalSearchRequestOrBuilder- Returns:
- The bytes for visitorId.
-
hasUserInfo
public boolean hasUserInfo()Optional. User information.
.google.cloud.retail.v2alpha.UserInfo user_info = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUserInfoin interfaceConversationalSearchRequestOrBuilder- Returns:
- Whether the userInfo field is set.
-
getUserInfo
Optional. User information.
.google.cloud.retail.v2alpha.UserInfo user_info = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserInfoin interfaceConversationalSearchRequestOrBuilder- Returns:
- The userInfo.
-
getUserInfoOrBuilder
Optional. User information.
.google.cloud.retail.v2alpha.UserInfo user_info = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserInfoOrBuilderin interfaceConversationalSearchRequestOrBuilder
-
hasConversationalFilteringSpec
public boolean hasConversationalFilteringSpec()Optional. This field specifies all conversational filtering related parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.ConversationalFilteringSpec conversational_filtering_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConversationalFilteringSpecin interfaceConversationalSearchRequestOrBuilder- Returns:
- Whether the conversationalFilteringSpec field is set.
-
getConversationalFilteringSpec
Optional. This field specifies all conversational filtering related parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.ConversationalFilteringSpec conversational_filtering_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationalFilteringSpecin interfaceConversationalSearchRequestOrBuilder- Returns:
- The conversationalFilteringSpec.
-
getConversationalFilteringSpecOrBuilder
public ConversationalSearchRequest.ConversationalFilteringSpecOrBuilder getConversationalFilteringSpecOrBuilder()Optional. This field specifies all conversational filtering related parameters.
.google.cloud.retail.v2alpha.ConversationalSearchRequest.ConversationalFilteringSpec conversational_filtering_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationalFilteringSpecOrBuilderin interfaceConversationalSearchRequestOrBuilder
-
getUserLabelsCount
public int getUserLabelsCount()Description copied from interface:ConversationalSearchRequestOrBuilderOptional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserLabelsCountin interfaceConversationalSearchRequestOrBuilder
-
containsUserLabels
Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsUserLabelsin interfaceConversationalSearchRequestOrBuilder
-
getUserLabels
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceConversationalSearchRequestOrBuilder
-
getUserLabelsMap
Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserLabelsMapin interfaceConversationalSearchRequestOrBuilder
-
getUserLabelsOrDefault
Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserLabelsOrDefaultin interfaceConversationalSearchRequestOrBuilder
-
getUserLabelsOrThrow
Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserLabelsOrThrowin interfaceConversationalSearchRequestOrBuilder
-
getSafetySettingsList
Optional. The safety settings to be applied to the generated content.
repeated .google.cloud.retail.v2alpha.SafetySetting safety_settings = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSafetySettingsListin interfaceConversationalSearchRequestOrBuilder
-
getSafetySettingsOrBuilderList
Optional. The safety settings to be applied to the generated content.
repeated .google.cloud.retail.v2alpha.SafetySetting safety_settings = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSafetySettingsOrBuilderListin interfaceConversationalSearchRequestOrBuilder
-
getSafetySettingsCount
public int getSafetySettingsCount()Optional. The safety settings to be applied to the generated content.
repeated .google.cloud.retail.v2alpha.SafetySetting safety_settings = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSafetySettingsCountin interfaceConversationalSearchRequestOrBuilder
-
getSafetySettings
Optional. The safety settings to be applied to the generated content.
repeated .google.cloud.retail.v2alpha.SafetySetting safety_settings = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSafetySettingsin interfaceConversationalSearchRequestOrBuilder
-
getSafetySettingsOrBuilder
Optional. The safety settings to be applied to the generated content.
repeated .google.cloud.retail.v2alpha.SafetySetting safety_settings = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSafetySettingsOrBuilderin interfaceConversationalSearchRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConversationalSearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationalSearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationalSearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationalSearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationalSearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationalSearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConversationalSearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConversationalSearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConversationalSearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConversationalSearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversationalSearchRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-