public static final class HumanAgentAssistantConfig.ConversationModelConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.ConversationModelConfig.Builder> implements HumanAgentAssistantConfig.ConversationModelConfigOrBuilder
Custom 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HumanAgentAssistantConfig.ConversationModelConfig build()
buildPartial()
public HumanAgentAssistantConfig.ConversationModelConfig buildPartial()
clear()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModel()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearModel()
Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>
.
string model = 1 [(.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The baselineModelVersion to set.
|
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 |
ByteString
The bytes for baselineModelVersion to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The model to set.
|
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 |
ByteString
The bytes for model to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.ConversationModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.ConversationModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides