public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
Config for suggestion features.
Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig
Fields
CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
public static final int CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
Field Value
ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
public static final int ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
Field Value
QUERY_CONFIG_FIELD_NUMBER
public static final int QUERY_CONFIG_FIELD_NUMBER
Field Value
SUGGESTION_FEATURE_FIELD_NUMBER
public static final int SUGGESTION_FEATURE_FIELD_NUMBER
Field Value
SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
public static final int SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConversationModelConfig()
public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;
Returns
getConversationModelConfigOrBuilder()
public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;
Returns
getDefaultInstance()
public static HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstance()
Returns
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getEnableEventBasedSuggestion()
public boolean getEnableEventBasedSuggestion()
Automatically iterates all participants and tries to compile
suggestions.
Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
bool enable_event_based_suggestion = 3;
Returns
Type | Description |
boolean | The enableEventBasedSuggestion.
|
getParserForType()
public Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> getParserForType()
Returns
Overrides
getQueryConfig()
public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;
Returns
getQueryConfigOrBuilder()
public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSuggestionFeature()
public SuggestionFeature getSuggestionFeature()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;
Returns
getSuggestionFeatureOrBuilder()
public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;
Returns
getSuggestionTriggerSettings()
public HumanAgentAssistantConfig.SuggestionTriggerSettings getSuggestionTriggerSettings()
Settings of suggestion trigger.
Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;
Returns
getSuggestionTriggerSettingsOrBuilder()
public HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder getSuggestionTriggerSettingsOrBuilder()
Settings of suggestion trigger.
Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasConversationModelConfig()
public boolean hasConversationModelConfig()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;
Returns
Type | Description |
boolean | Whether the conversationModelConfig field is set.
|
hasQueryConfig()
public boolean hasQueryConfig()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;
Returns
Type | Description |
boolean | Whether the queryConfig field is set.
|
hasSuggestionFeature()
public boolean hasSuggestionFeature()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;
Returns
Type | Description |
boolean | Whether the suggestionFeature field is set.
|
hasSuggestionTriggerSettings()
public boolean hasSuggestionTriggerSettings()
Settings of suggestion trigger.
Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;
Returns
Type | Description |
boolean | Whether the suggestionTriggerSettings field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)
Parameter
Returns
newBuilderForType()
public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> parser()
Returns
toBuilder()
public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions