Class HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder (4.47.0)

public static final class HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder> implements HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

Settings of suggestion trigger.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNoSmalltalk()

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearNoSmalltalk()

Do not trigger if last utterance is small talk.

bool no_smalltalk = 1;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOnlyEndUser()

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearOnlyEndUser()

Only trigger suggestion if participant role of last utterance is END_USER.

bool only_end_user = 2;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getNoSmalltalk()

public boolean getNoSmalltalk()

Do not trigger if last utterance is small talk.

bool no_smalltalk = 1;

Returns
Type Description
boolean

The noSmalltalk.

getOnlyEndUser()

public boolean getOnlyEndUser()

Only trigger suggestion if participant role of last utterance is END_USER.

bool only_end_user = 2;

Returns
Type Description
boolean

The onlyEndUser.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionTriggerSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNoSmalltalk(boolean value)

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder setNoSmalltalk(boolean value)

Do not trigger if last utterance is small talk.

bool no_smalltalk = 1;

Parameter
Name Description
value boolean

The noSmalltalk to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

This builder for chaining.

setOnlyEndUser(boolean value)

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder setOnlyEndUser(boolean value)

Only trigger suggestion if participant role of last utterance is END_USER.

bool only_end_user = 2;

Parameter
Name Description
value boolean

The onlyEndUser to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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