Class HumanAgentAssistantConfig.ConversationProcessConfig.Builder (4.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
HumanAgentAssistantConfig.ConversationProcessConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The recentSentencesCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.ConversationProcessConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The recentSentencesCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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