public static final class HumanAgentAssistantConfig.MessageAnalysisConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.MessageAnalysisConfig.Builder> implements HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder
Configuration for analyses to run on each conversation message.
Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HumanAgentAssistantConfig.MessageAnalysisConfig build()
buildPartial()
public HumanAgentAssistantConfig.MessageAnalysisConfig buildPartial()
clear()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clear()
Overrides
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearEnableEntityExtraction()
Enable entity extraction in conversation messages on agent assist
stage.
If unspecified, defaults to false.
Currently, this feature is not general available, please contact Google
to get access.
bool enable_entity_extraction = 2;
clearEnableSentimentAnalysis()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearEnableSentimentAnalysis()
Enable sentiment analysis in conversation messages on agent assist
stage.
If unspecified, defaults to false. Sentiment analysis inspects user input
and identifies the prevailing subjective opinion, especially to determine
a user's attitude as positive, negative, or neutral:
https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
For
Participants.StreamingAnalyzeContent
method, result will be in
StreamingAnalyzeContentResponse.message.SentimentAnalysisResult.
For
Participants.AnalyzeContent
method, result will be in
AnalyzeContentResponse.message.SentimentAnalysisResult
For
Conversations.ListMessages
method, result will be in
ListMessagesResponse.messages.SentimentAnalysisResult
If Pub/Sub notification is configured, result will be in
ConversationEvent.new_message_payload.SentimentAnalysisResult.
bool enable_sentiment_analysis = 3;
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getEnableEntityExtraction()
Enable entity extraction in conversation messages on agent assist
stage.
If unspecified, defaults to false.
Currently, this feature is not general available, please contact Google
to get access.
bool enable_entity_extraction = 2;
Returns |
Type |
Description |
boolean |
The enableEntityExtraction.
|
getEnableSentimentAnalysis()
public boolean getEnableSentimentAnalysis()
Enable sentiment analysis in conversation messages on agent assist
stage.
If unspecified, defaults to false. Sentiment analysis inspects user input
and identifies the prevailing subjective opinion, especially to determine
a user's attitude as positive, negative, or neutral:
https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
For
Participants.StreamingAnalyzeContent
method, result will be in
StreamingAnalyzeContentResponse.message.SentimentAnalysisResult.
For
Participants.AnalyzeContent
method, result will be in
AnalyzeContentResponse.message.SentimentAnalysisResult
For
Conversations.ListMessages
method, result will be in
ListMessagesResponse.messages.SentimentAnalysisResult
If Pub/Sub notification is configured, result will be in
ConversationEvent.new_message_payload.SentimentAnalysisResult.
bool enable_sentiment_analysis = 3;
Returns |
Type |
Description |
boolean |
The enableSentimentAnalysis.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HumanAgentAssistantConfig.MessageAnalysisConfig other)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(HumanAgentAssistantConfig.MessageAnalysisConfig other)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setEnableEntityExtraction(boolean value)
Enable entity extraction in conversation messages on agent assist
stage.
If unspecified, defaults to false.
Currently, this feature is not general available, please contact Google
to get access.
bool enable_entity_extraction = 2;
Parameter |
Name |
Description |
value |
boolean
The enableEntityExtraction to set.
|
setEnableSentimentAnalysis(boolean value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setEnableSentimentAnalysis(boolean value)
Enable sentiment analysis in conversation messages on agent assist
stage.
If unspecified, defaults to false. Sentiment analysis inspects user input
and identifies the prevailing subjective opinion, especially to determine
a user's attitude as positive, negative, or neutral:
https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
For
Participants.StreamingAnalyzeContent
method, result will be in
StreamingAnalyzeContentResponse.message.SentimentAnalysisResult.
For
Participants.AnalyzeContent
method, result will be in
AnalyzeContentResponse.message.SentimentAnalysisResult
For
Conversations.ListMessages
method, result will be in
ListMessagesResponse.messages.SentimentAnalysisResult
If Pub/Sub notification is configured, result will be in
ConversationEvent.new_message_payload.SentimentAnalysisResult.
bool enable_sentiment_analysis = 3;
Parameter |
Name |
Description |
value |
boolean
The enableSentimentAnalysis to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides