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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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_smalltalk = 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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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_smalltalk = 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