Class HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder (4.7.5)

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.v2beta1.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_small_talk = 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_small_talk = 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_small_talk = 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