Class HumanAgentAssistantConfig.ConversationProcessConfig.Builder (4.89.0)

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

Config to process conversation.

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

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.