public static final class EntityMentionData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder> implements EntityMentionDataOrBuilder
The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.Protobuf type
google.cloud.contactcenterinsights.v1.EntityMentionData| Modifier and Type | Method and Description |
|---|---|
EntityMentionData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityMentionData |
build() |
EntityMentionData |
buildPartial() |
EntityMentionData.Builder |
clear() |
EntityMentionData.Builder |
clearEntityUniqueId()
The key of this entity in conversation entities.
|
EntityMentionData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EntityMentionData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EntityMentionData.Builder |
clearSentiment()
Sentiment expressed for this mention of the entity.
|
EntityMentionData.Builder |
clearType()
The type of the entity mention.
|
EntityMentionData.Builder |
clone() |
EntityMentionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEntityUniqueId()
The key of this entity in conversation entities.
|
com.google.protobuf.ByteString |
getEntityUniqueIdBytes()
The key of this entity in conversation entities.
|
SentimentData |
getSentiment()
Sentiment expressed for this mention of the entity.
|
SentimentData.Builder |
getSentimentBuilder()
Sentiment expressed for this mention of the entity.
|
SentimentDataOrBuilder |
getSentimentOrBuilder()
Sentiment expressed for this mention of the entity.
|
EntityMentionData.MentionType |
getType()
The type of the entity mention.
|
int |
getTypeValue()
The type of the entity mention.
|
boolean |
hasSentiment()
Sentiment expressed for this mention of the entity.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EntityMentionData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EntityMentionData.Builder |
mergeFrom(EntityMentionData other) |
EntityMentionData.Builder |
mergeFrom(com.google.protobuf.Message other) |
EntityMentionData.Builder |
mergeSentiment(SentimentData value)
Sentiment expressed for this mention of the entity.
|
EntityMentionData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EntityMentionData.Builder |
setEntityUniqueId(String value)
The key of this entity in conversation entities.
|
EntityMentionData.Builder |
setEntityUniqueIdBytes(com.google.protobuf.ByteString value)
The key of this entity in conversation entities.
|
EntityMentionData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityMentionData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EntityMentionData.Builder |
setSentiment(SentimentData.Builder builderForValue)
Sentiment expressed for this mention of the entity.
|
EntityMentionData.Builder |
setSentiment(SentimentData value)
Sentiment expressed for this mention of the entity.
|
EntityMentionData.Builder |
setType(EntityMentionData.MentionType value)
The type of the entity mention.
|
EntityMentionData.Builder |
setTypeValue(int value)
The type of the entity mention.
|
EntityMentionData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EntityMentionData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EntityMentionData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EntityMentionData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityMentionData.Builder>public EntityMentionData.Builder mergeFrom(EntityMentionData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public EntityMentionData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityMentionData.Builder>IOExceptionpublic String getEntityUniqueId()
The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.
string entity_unique_id = 1;getEntityUniqueId in interface EntityMentionDataOrBuilderpublic com.google.protobuf.ByteString getEntityUniqueIdBytes()
The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.
string entity_unique_id = 1;getEntityUniqueIdBytes in interface EntityMentionDataOrBuilderpublic EntityMentionData.Builder setEntityUniqueId(String value)
The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.
string entity_unique_id = 1;value - The entityUniqueId to set.public EntityMentionData.Builder clearEntityUniqueId()
The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.
string entity_unique_id = 1;public EntityMentionData.Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value)
The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.
string entity_unique_id = 1;value - The bytes for entityUniqueId to set.public int getTypeValue()
The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;getTypeValue in interface EntityMentionDataOrBuilderpublic EntityMentionData.Builder setTypeValue(int value)
The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;value - The enum numeric value on the wire for type to set.public EntityMentionData.MentionType getType()
The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;getType in interface EntityMentionDataOrBuilderpublic EntityMentionData.Builder setType(EntityMentionData.MentionType value)
The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;value - The type to set.public EntityMentionData.Builder clearType()
The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;public boolean hasSentiment()
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;hasSentiment in interface EntityMentionDataOrBuilderpublic SentimentData getSentiment()
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;getSentiment in interface EntityMentionDataOrBuilderpublic EntityMentionData.Builder setSentiment(SentimentData value)
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;public EntityMentionData.Builder setSentiment(SentimentData.Builder builderForValue)
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;public EntityMentionData.Builder mergeSentiment(SentimentData value)
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;public EntityMentionData.Builder clearSentiment()
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;public SentimentData.Builder getSentimentBuilder()
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;public SentimentDataOrBuilder getSentimentOrBuilder()
Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;getSentimentOrBuilder in interface EntityMentionDataOrBuilderpublic final EntityMentionData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>public final EntityMentionData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityMentionData.Builder>Copyright © 2023 Google LLC. All rights reserved.