Class HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder (4.5.11)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNoSmalltalk()

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearNoSmalltalk()

Do not trigger if last utterance is small talk.

bool no_smalltalk = 1;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNoSmalltalk()

public boolean getNoSmalltalk()

Do not trigger if last utterance is small talk.

bool no_smalltalk = 1;

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

The onlyEndUser.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionTriggerSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The noSmalltalk to set.

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

The onlyEndUser to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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