public static final class ConverseConversationRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder> implements ConverseConversationRequestOrBuilder
Request message for [ConversationalSearchService.ConverseConversation][google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation] method.Protobuf type
google.cloud.discoveryengine.v1alpha.ConverseConversationRequest| Modifier and Type | Method and Description |
|---|---|
ConverseConversationRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConverseConversationRequest |
build() |
ConverseConversationRequest |
buildPartial() |
ConverseConversationRequest.Builder |
clear() |
ConverseConversationRequest.Builder |
clearBoostSpec()
Boost specification to boost certain documents in search results which may
affect the converse response.
|
ConverseConversationRequest.Builder |
clearConversation()
The conversation to be used by auto session only.
|
ConverseConversationRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConverseConversationRequest.Builder |
clearFilter()
The filter syntax consists of an expression language for constructing a
predicate from one or more fields of the documents being filtered.
|
ConverseConversationRequest.Builder |
clearName()
Required.
|
ConverseConversationRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConverseConversationRequest.Builder |
clearQuery()
Required.
|
ConverseConversationRequest.Builder |
clearSafeSearch()
Whether to turn on safe search.
|
ConverseConversationRequest.Builder |
clearServingConfig()
The resource name of the Serving Config to use.
|
ConverseConversationRequest.Builder |
clearSummarySpec()
A specification for configuring the summary returned in the response.
|
ConverseConversationRequest.Builder |
clearUserLabels() |
ConverseConversationRequest.Builder |
clone() |
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
|
SearchRequest.BoostSpec |
getBoostSpec()
Boost specification to boost certain documents in search results which may
affect the converse response.
|
SearchRequest.BoostSpec.Builder |
getBoostSpecBuilder()
Boost specification to boost certain documents in search results which may
affect the converse response.
|
SearchRequest.BoostSpecOrBuilder |
getBoostSpecOrBuilder()
Boost specification to boost certain documents in search results which may
affect the converse response.
|
Conversation |
getConversation()
The conversation to be used by auto session only.
|
Conversation.Builder |
getConversationBuilder()
The conversation to be used by auto session only.
|
ConversationOrBuilder |
getConversationOrBuilder()
The conversation to be used by auto session only.
|
ConverseConversationRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
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.ByteString |
getFilterBytes()
The filter syntax consists of an expression language for constructing a
predicate from one or more fields of the documents being filtered.
|
Map<String,String> |
getMutableUserLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
TextInput |
getQuery()
Required.
|
TextInput.Builder |
getQueryBuilder()
Required.
|
TextInputOrBuilder |
getQueryOrBuilder()
Required.
|
boolean |
getSafeSearch()
Whether to turn on safe search.
|
String |
getServingConfig()
The resource name of the Serving Config to use.
|
com.google.protobuf.ByteString |
getServingConfigBytes()
The resource name of the Serving Config to use.
|
SearchRequest.ContentSearchSpec.SummarySpec |
getSummarySpec()
A specification for configuring the summary returned in the response.
|
SearchRequest.ContentSearchSpec.SummarySpec.Builder |
getSummarySpecBuilder()
A specification for configuring the summary returned in the response.
|
SearchRequest.ContentSearchSpec.SummarySpecOrBuilder |
getSummarySpecOrBuilder()
A specification for configuring the summary returned in the response.
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
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
|
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
|
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
|
boolean |
hasBoostSpec()
Boost specification to boost certain documents in search results which may
affect the converse response.
|
boolean |
hasConversation()
The conversation to be used by auto session only.
|
boolean |
hasQuery()
Required.
|
boolean |
hasSummarySpec()
A specification for configuring the summary returned in the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
ConverseConversationRequest.Builder |
mergeBoostSpec(SearchRequest.BoostSpec value)
Boost specification to boost certain documents in search results which may
affect the converse response.
|
ConverseConversationRequest.Builder |
mergeConversation(Conversation value)
The conversation to be used by auto session only.
|
ConverseConversationRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConverseConversationRequest.Builder |
mergeFrom(ConverseConversationRequest other) |
ConverseConversationRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConverseConversationRequest.Builder |
mergeQuery(TextInput value)
Required.
|
ConverseConversationRequest.Builder |
mergeSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec value)
A specification for configuring the summary returned in the response.
|
ConverseConversationRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConverseConversationRequest.Builder |
putAllUserLabels(Map<String,String> values)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
ConverseConversationRequest.Builder |
putUserLabels(String key,
String value)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
ConverseConversationRequest.Builder |
removeUserLabels(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
|
ConverseConversationRequest.Builder |
setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue)
Boost specification to boost certain documents in search results which may
affect the converse response.
|
ConverseConversationRequest.Builder |
setBoostSpec(SearchRequest.BoostSpec value)
Boost specification to boost certain documents in search results which may
affect the converse response.
|
ConverseConversationRequest.Builder |
setConversation(Conversation.Builder builderForValue)
The conversation to be used by auto session only.
|
ConverseConversationRequest.Builder |
setConversation(Conversation value)
The conversation to be used by auto session only.
|
ConverseConversationRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConverseConversationRequest.Builder |
setFilter(String value)
The filter syntax consists of an expression language for constructing a
predicate from one or more fields of the documents being filtered.
|
ConverseConversationRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
The filter syntax consists of an expression language for constructing a
predicate from one or more fields of the documents being filtered.
|
ConverseConversationRequest.Builder |
setName(String value)
Required.
|
ConverseConversationRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ConverseConversationRequest.Builder |
setQuery(TextInput.Builder builderForValue)
Required.
|
ConverseConversationRequest.Builder |
setQuery(TextInput value)
Required.
|
ConverseConversationRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConverseConversationRequest.Builder |
setSafeSearch(boolean value)
Whether to turn on safe search.
|
ConverseConversationRequest.Builder |
setServingConfig(String value)
The resource name of the Serving Config to use.
|
ConverseConversationRequest.Builder |
setServingConfigBytes(com.google.protobuf.ByteString value)
The resource name of the Serving Config to use.
|
ConverseConversationRequest.Builder |
setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.Builder builderForValue)
A specification for configuring the summary returned in the response.
|
ConverseConversationRequest.Builder |
setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec value)
A specification for configuring the summary returned in the response.
|
ConverseConversationRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.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<ConverseConversationRequest.Builder>public ConverseConversationRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConverseConversationRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConverseConversationRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConverseConversationRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.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<ConverseConversationRequest.Builder>public ConverseConversationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.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<ConverseConversationRequest.Builder>public ConverseConversationRequest.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<ConverseConversationRequest.Builder>public ConverseConversationRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.Builder mergeFrom(ConverseConversationRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public ConverseConversationRequest.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<ConverseConversationRequest.Builder>IOExceptionpublic String getName()
Required. The resource name of the Conversation to get. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
Use
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ConverseConversationRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the Conversation to get. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
Use
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setName(String value)
Required. The resource name of the Conversation to get. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
Use
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ConverseConversationRequest.Builder clearName()
Required. The resource name of the Conversation to get. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
Use
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ConverseConversationRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Conversation to get. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
Use
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasQuery()
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
hasQuery in interface ConverseConversationRequestOrBuilderpublic TextInput getQuery()
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
getQuery in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setQuery(TextInput value)
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
public ConverseConversationRequest.Builder setQuery(TextInput.Builder builderForValue)
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
public ConverseConversationRequest.Builder mergeQuery(TextInput value)
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
public ConverseConversationRequest.Builder clearQuery()
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
public TextInput.Builder getQueryBuilder()
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
public TextInputOrBuilder getQueryOrBuilder()
Required. Current user input.
.google.cloud.discoveryengine.v1alpha.TextInput query = 2 [(.google.api.field_behavior) = REQUIRED];
getQueryOrBuilder in interface ConverseConversationRequestOrBuilderpublic String getServingConfig()
The resource name of the Serving Config to use. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
If this is not set, the default serving config will be used.
string serving_config = 3 [(.google.api.resource_reference) = { ... }getServingConfig in interface ConverseConversationRequestOrBuilderpublic com.google.protobuf.ByteString getServingConfigBytes()
The resource name of the Serving Config to use. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
If this is not set, the default serving config will be used.
string serving_config = 3 [(.google.api.resource_reference) = { ... }getServingConfigBytes in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setServingConfig(String value)
The resource name of the Serving Config to use. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
If this is not set, the default serving config will be used.
string serving_config = 3 [(.google.api.resource_reference) = { ... }value - The servingConfig to set.public ConverseConversationRequest.Builder clearServingConfig()
The resource name of the Serving Config to use. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
If this is not set, the default serving config will be used.
string serving_config = 3 [(.google.api.resource_reference) = { ... }public ConverseConversationRequest.Builder setServingConfigBytes(com.google.protobuf.ByteString value)
The resource name of the Serving Config to use. Format:
`projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
If this is not set, the default serving config will be used.
string serving_config = 3 [(.google.api.resource_reference) = { ... }value - The bytes for servingConfig to set.public boolean hasConversation()
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;hasConversation in interface ConverseConversationRequestOrBuilderpublic Conversation getConversation()
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;getConversation in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setConversation(Conversation value)
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;public ConverseConversationRequest.Builder setConversation(Conversation.Builder builderForValue)
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;public ConverseConversationRequest.Builder mergeConversation(Conversation value)
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;public ConverseConversationRequest.Builder clearConversation()
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;public Conversation.Builder getConversationBuilder()
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;public ConversationOrBuilder getConversationOrBuilder()
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 5;getConversationOrBuilder in interface ConverseConversationRequestOrBuilderpublic boolean getSafeSearch()
Whether to turn on safe search.
bool safe_search = 6;getSafeSearch in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setSafeSearch(boolean value)
Whether to turn on safe search.
bool safe_search = 6;value - The safeSearch to set.public ConverseConversationRequest.Builder clearSafeSearch()
Whether to turn on safe search.
bool safe_search = 6;public int getUserLabelsCount()
ConverseConversationRequestOrBuilderThe 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 = 7;getUserLabelsCount in interface ConverseConversationRequestOrBuilderpublic 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 = 7;containsUserLabels in interface ConverseConversationRequestOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface ConverseConversationRequestOrBuilderpublic 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 = 7;getUserLabelsMap in interface ConverseConversationRequestOrBuilderpublic 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 = 7;getUserLabelsOrDefault in interface ConverseConversationRequestOrBuilderpublic 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 = 7;getUserLabelsOrThrow in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder clearUserLabels()
public ConverseConversationRequest.Builder removeUserLabels(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 = 7;@Deprecated public Map<String,String> getMutableUserLabels()
public ConverseConversationRequest.Builder putUserLabels(String key, String value)
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 = 7;public ConverseConversationRequest.Builder putAllUserLabels(Map<String,String> values)
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 = 7;public boolean hasSummarySpec()
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
hasSummarySpec in interface ConverseConversationRequestOrBuilderpublic SearchRequest.ContentSearchSpec.SummarySpec getSummarySpec()
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
getSummarySpec in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec value)
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
public ConverseConversationRequest.Builder setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.Builder builderForValue)
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
public ConverseConversationRequest.Builder mergeSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec value)
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
public ConverseConversationRequest.Builder clearSummarySpec()
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
public SearchRequest.ContentSearchSpec.SummarySpec.Builder getSummarySpecBuilder()
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
public SearchRequest.ContentSearchSpec.SummarySpecOrBuilder getSummarySpecOrBuilder()
A specification for configuring the summary returned in the response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
getSummarySpecOrBuilder in interface ConverseConversationRequestOrBuilderpublic 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. This will be used to filter search results
which may affect the summary response.
If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to a
key property defined in the Vertex AI Search backend -- this mapping is
defined by the customer in their schema. For example a media customer might
have a field 'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 9;getFilter in interface ConverseConversationRequestOrBuilderpublic 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. This will be used to filter search results
which may affect the summary response.
If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to a
key property defined in the Vertex AI Search backend -- this mapping is
defined by the customer in their schema. For example a media customer might
have a field 'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 9;getFilterBytes in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setFilter(String value)
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. This will be used to filter search results
which may affect the summary response.
If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to a
key property defined in the Vertex AI Search backend -- this mapping is
defined by the customer in their schema. For example a media customer might
have a field 'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 9;value - The filter to set.public ConverseConversationRequest.Builder clearFilter()
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. This will be used to filter search results
which may affect the summary response.
If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to a
key property defined in the Vertex AI Search backend -- this mapping is
defined by the customer in their schema. For example a media customer might
have a field 'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 9;public ConverseConversationRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
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. This will be used to filter search results
which may affect the summary response.
If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to a
key property defined in the Vertex AI Search backend -- this mapping is
defined by the customer in their schema. For example a media customer might
have a field 'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 9;value - The bytes for filter to set.public boolean hasBoostSpec()
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;hasBoostSpec in interface ConverseConversationRequestOrBuilderpublic SearchRequest.BoostSpec getBoostSpec()
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;getBoostSpec in interface ConverseConversationRequestOrBuilderpublic ConverseConversationRequest.Builder setBoostSpec(SearchRequest.BoostSpec value)
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;public ConverseConversationRequest.Builder setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue)
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;public ConverseConversationRequest.Builder mergeBoostSpec(SearchRequest.BoostSpec value)
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;public ConverseConversationRequest.Builder clearBoostSpec()
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;public SearchRequest.BoostSpec.Builder getBoostSpecBuilder()
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;public SearchRequest.BoostSpecOrBuilder getBoostSpecOrBuilder()
Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec boost_spec = 10;getBoostSpecOrBuilder in interface ConverseConversationRequestOrBuilderpublic final ConverseConversationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>public final ConverseConversationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConverseConversationRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.