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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HumanAgentAssistantConfig.SuggestionTriggerSettings build()
Returns
buildPartial()
public HumanAgentAssistantConfig.SuggestionTriggerSettings buildPartial()
Returns
clear()
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNoSmallTalk()
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearNoSmallTalk()
Do not trigger if last utterance is small talk.
bool no_small_talk = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionTriggerSettings getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNoSmallTalk()
public boolean getNoSmallTalk()
Do not trigger if last utterance is small talk.
bool no_small_talk = 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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HumanAgentAssistantConfig.SuggestionTriggerSettings other)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionTriggerSettings other)
Parameter
Returns
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | boolean
The noSmallTalk to set.
|
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides