Class HumanAgentAssistantConfig.ConversationModelConfig.Builder (4.4.0)

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.v2.HumanAgentAssistantConfig.ConversationModelConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.ConversationModelConfig.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

build()

public HumanAgentAssistantConfig.ConversationModelConfig build()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

buildPartial()

public HumanAgentAssistantConfig.ConversationModelConfig buildPartial()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

clear()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder clear()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
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
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

clone()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder clone()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModel()

public String getModel()

Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(HumanAgentAssistantConfig.ConversationModelConfig other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.ConversationModelConfig
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.ConversationModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
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
NameDescription
valueString

The model to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HumanAgentAssistantConfig.ConversationModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.ConversationModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides