public static final class HumanAgentAssistantConfig.MessageAnalysisConfig extends com.google.protobuf.GeneratedMessageV3 implements HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder
Configuration for analyses to run on each conversation message.Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig| Modifier and Type | Class and Description |
|---|---|
static class |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder
Configuration for analyses to run on each conversation message.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLE_ENTITY_EXTRACTION_FIELD_NUMBER |
static int |
ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
getDefaultInstance() |
HumanAgentAssistantConfig.MessageAnalysisConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableEntityExtraction()
Enable entity extraction in conversation messages on [agent assist
stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
|
boolean |
getEnableSentimentAnalysis()
Enable sentiment analysis in conversation messages on [agent assist
stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
|
com.google.protobuf.Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
newBuilder() |
static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype) |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
newBuilderForType() |
protected HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseDelimitedFrom(InputStream input) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(byte[] data) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(ByteBuffer data) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(com.google.protobuf.ByteString data) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(InputStream input) |
static HumanAgentAssistantConfig.MessageAnalysisConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> |
parser() |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLE_ENTITY_EXTRACTION_FIELD_NUMBER
public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getEnableEntityExtraction()
Enable entity extraction in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access.
bool enable_entity_extraction = 2;getEnableEntityExtraction in interface HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilderpublic boolean getEnableSentimentAnalysis()
Enable sentiment analysis in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). 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][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] If Pub/Sub notification is configured, result will be in [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload].
bool enable_sentiment_analysis = 3;getEnableSentimentAnalysis in interface HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.MessageAnalysisConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder()
public static HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilder(HumanAgentAssistantConfig.MessageAnalysisConfig prototype)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HumanAgentAssistantConfig.MessageAnalysisConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstance()
public static com.google.protobuf.Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> parser()
public com.google.protobuf.Parser<HumanAgentAssistantConfig.MessageAnalysisConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.