- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.MessageAnalysisConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
build()
public HumanAgentAssistantConfig.MessageAnalysisConfig build()
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig |
buildPartial()
public HumanAgentAssistantConfig.MessageAnalysisConfig buildPartial()
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig |
clear()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clear()
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
clearEnableEntityExtraction()
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;
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder | This builder for chaining. |
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;
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
clone()
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clone()
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
getDefaultInstanceForType()
public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnableEntityExtraction()
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;
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;
Type | Description |
boolean | The enableSentimentAnalysis. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(HumanAgentAssistantConfig.MessageAnalysisConfig other)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(HumanAgentAssistantConfig.MessageAnalysisConfig other)
Name | Description |
other | HumanAgentAssistantConfig.MessageAnalysisConfig |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.MessageAnalysisConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
setEnableEntityExtraction(boolean value)
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;
Name | Description |
value | boolean The enableEntityExtraction to set. |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder | This builder for chaining. |
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;
Name | Description |
value | boolean The enableSentimentAnalysis to set. |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HumanAgentAssistantConfig.MessageAnalysisConfig.Builder |