Class Message.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
- com.google.cloud.dialogflow.v2beta1.Message.Builder
-
- All Implemented Interfaces:
MessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Message
public static final class Message.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder> implements MessageOrBuilder
Represents a message posted into a conversation.
Protobuf typegoogle.cloud.dialogflow.v2beta1.Message
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Message.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Messagebuild()MessagebuildPartial()Message.Builderclear()Message.BuilderclearContent()Required.Message.BuilderclearCreateTime()Output only.Message.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Message.BuilderclearLanguageCode()Optional.Message.BuilderclearMessageAnnotation()Output only.Message.BuilderclearName()Optional.Message.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Message.BuilderclearParticipant()Output only.Message.BuilderclearParticipantRole()Output only.Message.BuilderclearSendTime()Optional.Message.BuilderclearSentimentAnalysis()Output only.Message.Builderclone()StringgetContent()Required.com.google.protobuf.ByteStringgetContentBytes()Required.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.MessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLanguageCode()Optional.com.google.protobuf.ByteStringgetLanguageCodeBytes()Optional.MessageAnnotationgetMessageAnnotation()Output only.MessageAnnotation.BuildergetMessageAnnotationBuilder()Output only.MessageAnnotationOrBuildergetMessageAnnotationOrBuilder()Output only.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.StringgetParticipant()Output only.com.google.protobuf.ByteStringgetParticipantBytes()Output only.Participant.RolegetParticipantRole()Output only.intgetParticipantRoleValue()Output only.com.google.protobuf.TimestampgetSendTime()Optional.com.google.protobuf.Timestamp.BuildergetSendTimeBuilder()Optional.com.google.protobuf.TimestampOrBuildergetSendTimeOrBuilder()Optional.SentimentAnalysisResultgetSentimentAnalysis()Output only.SentimentAnalysisResult.BuildergetSentimentAnalysisBuilder()Output only.SentimentAnalysisResultOrBuildergetSentimentAnalysisOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasMessageAnnotation()Output only.booleanhasSendTime()Optional.booleanhasSentimentAnalysis()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Message.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Message.BuildermergeFrom(Message other)Message.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Message.BuildermergeFrom(com.google.protobuf.Message other)Message.BuildermergeMessageAnnotation(MessageAnnotation value)Output only.Message.BuildermergeSendTime(com.google.protobuf.Timestamp value)Optional.Message.BuildermergeSentimentAnalysis(SentimentAnalysisResult value)Output only.Message.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Message.BuildersetContent(String value)Required.Message.BuildersetContentBytes(com.google.protobuf.ByteString value)Required.Message.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Message.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Message.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Message.BuildersetLanguageCode(String value)Optional.Message.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)Optional.Message.BuildersetMessageAnnotation(MessageAnnotation value)Output only.Message.BuildersetMessageAnnotation(MessageAnnotation.Builder builderForValue)Output only.Message.BuildersetName(String value)Optional.Message.BuildersetNameBytes(com.google.protobuf.ByteString value)Optional.Message.BuildersetParticipant(String value)Output only.Message.BuildersetParticipantBytes(com.google.protobuf.ByteString value)Output only.Message.BuildersetParticipantRole(Participant.Role value)Output only.Message.BuildersetParticipantRoleValue(int value)Output only.Message.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Message.BuildersetSendTime(com.google.protobuf.Timestamp value)Optional.Message.BuildersetSendTime(com.google.protobuf.Timestamp.Builder builderForValue)Optional.Message.BuildersetSentimentAnalysis(SentimentAnalysisResult value)Output only.Message.BuildersetSentimentAnalysis(SentimentAnalysisResult.Builder builderForValue)Output only.Message.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
clear
public Message.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
getDefaultInstanceForType
public Message getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Message build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Message buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Message.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
setField
public Message.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
clearField
public Message.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
clearOneof
public Message.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
setRepeatedField
public Message.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
addRepeatedField
public Message.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
mergeFrom
public Message.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Message.Builder>
-
mergeFrom
public Message.Builder mergeFrom(Message other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
mergeFrom
public Message.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Message.Builder>- Throws:
IOException
-
getName
public String getName()
Optional. The unique identifier of the message. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceMessageOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional. The unique identifier of the message. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceMessageOrBuilder- Returns:
- The bytes for name.
-
setName
public Message.Builder setName(String value)
Optional. The unique identifier of the message. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Message.Builder clearName()
Optional. The unique identifier of the message. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNameBytes
public Message.Builder setNameBytes(com.google.protobuf.ByteString value)
Optional. The unique identifier of the message. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getContent
public String getContent()
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getContentin interfaceMessageOrBuilder- Returns:
- The content.
-
getContentBytes
public com.google.protobuf.ByteString getContentBytes()
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getContentBytesin interfaceMessageOrBuilder- Returns:
- The bytes for content.
-
setContent
public Message.Builder setContent(String value)
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The content to set.- Returns:
- This builder for chaining.
-
clearContent
public Message.Builder clearContent()
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setContentBytes
public Message.Builder setContentBytes(com.google.protobuf.ByteString value)
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for content to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public String getLanguageCode()
Optional. The message language. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceMessageOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The message language. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceMessageOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public Message.Builder setLanguageCode(String value)
Optional. The message language. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public Message.Builder clearLanguageCode()
Optional. The message language. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public Message.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The message language. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getParticipant
public String getParticipant()
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParticipantin interfaceMessageOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public com.google.protobuf.ByteString getParticipantBytes()
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParticipantBytesin interfaceMessageOrBuilder- Returns:
- The bytes for participant.
-
setParticipant
public Message.Builder setParticipant(String value)
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The participant to set.- Returns:
- This builder for chaining.
-
clearParticipant
public Message.Builder clearParticipant()
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setParticipantBytes
public Message.Builder setParticipantBytes(com.google.protobuf.ByteString value)
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for participant to set.- Returns:
- This builder for chaining.
-
getParticipantRoleValue
public int getParticipantRoleValue()
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParticipantRoleValuein interfaceMessageOrBuilder- Returns:
- The enum numeric value on the wire for participantRole.
-
setParticipantRoleValue
public Message.Builder setParticipantRoleValue(int value)
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for participantRole to set.- Returns:
- This builder for chaining.
-
getParticipantRole
public Participant.Role getParticipantRole()
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParticipantRolein interfaceMessageOrBuilder- Returns:
- The participantRole.
-
setParticipantRole
public Message.Builder setParticipantRole(Participant.Role value)
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The participantRole to set.- Returns:
- This builder for chaining.
-
clearParticipantRole
public Message.Builder clearParticipantRole()
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceMessageOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceMessageOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Message.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Message.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Message.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Message.Builder clearCreateTime()
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the message was created in Contact Center AI.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceMessageOrBuilder
-
hasSendTime
public boolean hasSendTime()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSendTimein interfaceMessageOrBuilder- Returns:
- Whether the sendTime field is set.
-
getSendTime
public com.google.protobuf.Timestamp getSendTime()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSendTimein interfaceMessageOrBuilder- Returns:
- The sendTime.
-
setSendTime
public Message.Builder setSendTime(com.google.protobuf.Timestamp value)
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
-
setSendTime
public Message.Builder setSendTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSendTime
public Message.Builder mergeSendTime(com.google.protobuf.Timestamp value)
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
-
clearSendTime
public Message.Builder clearSendTime()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getSendTimeBuilder
public com.google.protobuf.Timestamp.Builder getSendTimeBuilder()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getSendTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSendTimeOrBuilderin interfaceMessageOrBuilder
-
hasMessageAnnotation
public boolean hasMessageAnnotation()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMessageAnnotationin interfaceMessageOrBuilder- Returns:
- Whether the messageAnnotation field is set.
-
getMessageAnnotation
public MessageAnnotation getMessageAnnotation()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMessageAnnotationin interfaceMessageOrBuilder- Returns:
- The messageAnnotation.
-
setMessageAnnotation
public Message.Builder setMessageAnnotation(MessageAnnotation value)
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMessageAnnotation
public Message.Builder setMessageAnnotation(MessageAnnotation.Builder builderForValue)
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeMessageAnnotation
public Message.Builder mergeMessageAnnotation(MessageAnnotation value)
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMessageAnnotation
public Message.Builder clearMessageAnnotation()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMessageAnnotationBuilder
public MessageAnnotation.Builder getMessageAnnotationBuilder()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMessageAnnotationOrBuilder
public MessageAnnotationOrBuilder getMessageAnnotationOrBuilder()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMessageAnnotationOrBuilderin interfaceMessageOrBuilder
-
hasSentimentAnalysis
public boolean hasSentimentAnalysis()
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSentimentAnalysisin interfaceMessageOrBuilder- Returns:
- Whether the sentimentAnalysis field is set.
-
getSentimentAnalysis
public SentimentAnalysisResult getSentimentAnalysis()
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSentimentAnalysisin interfaceMessageOrBuilder- Returns:
- The sentimentAnalysis.
-
setSentimentAnalysis
public Message.Builder setSentimentAnalysis(SentimentAnalysisResult value)
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setSentimentAnalysis
public Message.Builder setSentimentAnalysis(SentimentAnalysisResult.Builder builderForValue)
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeSentimentAnalysis
public Message.Builder mergeSentimentAnalysis(SentimentAnalysisResult value)
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearSentimentAnalysis
public Message.Builder clearSentimentAnalysis()
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSentimentAnalysisBuilder
public SentimentAnalysisResult.Builder getSentimentAnalysisBuilder()
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSentimentAnalysisOrBuilder
public SentimentAnalysisResultOrBuilder getSentimentAnalysisOrBuilder()
Output only. The sentiment analysis result for the message.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSentimentAnalysisOrBuilderin interfaceMessageOrBuilder
-
setUnknownFields
public final Message.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
mergeUnknownFields
public final Message.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
-