Class HumanAgentAssistantConfig.SuggestionFeatureConfig (4.3.1)

public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

Config for suggestion features.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HumanAgentAssistantConfig.SuggestionFeatureConfig

Fields

CONVERSATION_MODEL_CONFIG_FIELD_NUMBER

public static final int CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER

public static final int ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_CONFIG_FIELD_NUMBER

public static final int QUERY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTION_FEATURE_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER

public static final int SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConversationModelConfig()

public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

The conversationModelConfig.

getConversationModelConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfigOrBuilder

getDefaultInstance()

public static HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstance()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

getDefaultInstanceForType()

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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

The enableEventBasedSuggestion.

getParserForType()

public Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> getParserForType()
Returns
TypeDescription
Parser<SuggestionFeatureConfig>
Overrides

getQueryConfig()

public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuggestionFeature()

public SuggestionFeature getSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
TypeDescription
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureOrBuilder()

public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
TypeDescription
SuggestionFeatureOrBuilder

getSuggestionTriggerSettings()

public HumanAgentAssistantConfig.SuggestionTriggerSettings getSuggestionTriggerSettings()

Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionTriggerSettings

The suggestionTriggerSettings.

getSuggestionTriggerSettingsOrBuilder()

public HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder getSuggestionTriggerSettingsOrBuilder()

Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConversationModelConfig()

public boolean hasConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
TypeDescription
boolean

Whether the conversationModelConfig field is set.

hasQueryConfig()

public boolean hasQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
TypeDescription
boolean

Whether the queryConfig field is set.

hasSuggestionFeature()

public boolean hasSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
TypeDescription
boolean

Whether the suggestionFeature field is set.

hasSuggestionTriggerSettings()

public boolean hasSuggestionTriggerSettings()

Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
TypeDescription
boolean

Whether the suggestionTriggerSettings field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)
Parameter
NameDescription
prototypeHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

newBuilderForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> parser()
Returns
TypeDescription
Parser<SuggestionFeatureConfig>

toBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder toBuilder()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException