public static final class HumanAgentAssistantConfig.MessageAnalysisConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder
Configuration for analyses to run on each conversation message.
Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig
Static Fields
public static final int ENABLE_ENTITY_EXTRACTION_FIELD_NUMBER
Field Value
ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype)
public static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype)
Parameter
Returns
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions