Class HumanAgentAssistantConfig.ConversationProcessConfig.Builder (4.11.0)

public static final class HumanAgentAssistantConfig.ConversationProcessConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.ConversationProcessConfig.Builder> implements HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder

Config to process conversation.

Protobuf type google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig

Inheritance

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

build()

public HumanAgentAssistantConfig.ConversationProcessConfig build()
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

buildPartial()

public HumanAgentAssistantConfig.ConversationProcessConfig buildPartial()
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

clear()

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clear()
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

clearRecentSentencesCount()

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clearRecentSentencesCount()

Number of recent non-small-talk sentences to use as context for article and FAQ suggestion

int32 recent_sentences_count = 2;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder

This builder for chaining.

clone()

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clone()
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.ConversationProcessConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRecentSentencesCount()

public int getRecentSentencesCount()

Number of recent non-small-talk sentences to use as context for article and FAQ suggestion

int32 recent_sentences_count = 2;

Returns
Type Description
int

The recentSentencesCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.ConversationProcessConfig other)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder mergeFrom(HumanAgentAssistantConfig.ConversationProcessConfig other)
Parameter
Name Description
other HumanAgentAssistantConfig.ConversationProcessConfig
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.ConversationProcessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

setRecentSentencesCount(int value)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder setRecentSentencesCount(int value)

Number of recent non-small-talk sentences to use as context for article and FAQ suggestion

int32 recent_sentences_count = 2;

Parameter
Name Description
value int

The recentSentencesCount to set.

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder

This builder for chaining.

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

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.ConversationProcessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides