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.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ENABLE_ENTITY_EXTRACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder()
newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype)
public static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(CodedInputStream input)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides