public static final class HumanAgentAssistantConfig.ConversationModelConfig.Builder extends GeneratedMessage.Builder<HumanAgentAssistantConfig.ConversationModelConfig.Builder> implements HumanAgentAssistantConfig.ConversationModelConfigOrBuilderCustom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HumanAgentAssistantConfig.ConversationModelConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HumanAgentAssistantConfig.ConversationModelConfig build()| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig |
|
buildPartial()
public HumanAgentAssistantConfig.ConversationModelConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig |
|
clear()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
|
clearBaselineModelVersion()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearBaselineModelVersion()Version of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
string baseline_model_version = 8;
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |
clearModel()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearModel() Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>.
string model = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |
getBaselineModelVersion()
public String getBaselineModelVersion()Version of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
string baseline_model_version = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The baselineModelVersion. |
getBaselineModelVersionBytes()
public ByteString getBaselineModelVersionBytes()Version of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
string baseline_model_version = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for baselineModelVersion. |
getDefaultInstanceForType()
public HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModel()
public String getModel() Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>.
string model = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public ByteString getModelBytes() Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>.
string model = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
HumanAgentAssistantConfig.ConversationModelConfig |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
|
setBaselineModelVersion(String value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setBaselineModelVersion(String value)Version of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
string baseline_model_version = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe baselineModelVersion to set. |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |
setBaselineModelVersionBytes(ByteString value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setBaselineModelVersionBytes(ByteString value)Version of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
string baseline_model_version = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for baselineModelVersion to set. |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |
setModel(String value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setModel(String value) Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>.
string model = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe model to set. |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setModelBytes(ByteString value) Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>.
string model = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for model to set. |
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.ConversationModelConfig.Builder |
This builder for chaining. |