Send feedback
Class HumanAgentAssistantConfig.ConversationModelConfig.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
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.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public HumanAgentAssistantConfig . ConversationModelConfig build ()
Returns
buildPartial()
public HumanAgentAssistantConfig . ConversationModelConfig buildPartial ()
Returns
clear()
public HumanAgentAssistantConfig . ConversationModelConfig . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public HumanAgentAssistantConfig . ConversationModelConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig . ConversationModelConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder mergeFrom ( HumanAgentAssistantConfig . ConversationModelConfig other )
Parameter
Returns
public HumanAgentAssistantConfig . ConversationModelConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig . ConversationModelConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig . ConversationModelConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig . ConversationModelConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]