- 2.83.0 (latest)
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class EntityMentionData.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EntityMentionData.BuilderImplements
EntityMentionDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EntityMentionData build()| Returns | |
|---|---|
| Type | Description |
EntityMentionData |
|
buildPartial()
public EntityMentionData buildPartial()| Returns | |
|---|---|
| Type | Description |
EntityMentionData |
|
clear()
public EntityMentionData.Builder clear()| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
clearEntityUniqueId()
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;
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |
clearSentiment()
public EntityMentionData.Builder clearSentiment()Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
clearType()
public EntityMentionData.Builder clearType()The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EntityMentionData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EntityMentionData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntityUniqueId()
public 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;
| Returns | |
|---|---|
| Type | Description |
String |
The entityUniqueId. |
getEntityUniqueIdBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for entityUniqueId. |
getSentiment()
public SentimentData getSentiment()Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Returns | |
|---|---|
| Type | Description |
SentimentData |
The sentiment. |
getSentimentBuilder()
public SentimentData.Builder getSentimentBuilder()Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Returns | |
|---|---|
| Type | Description |
SentimentData.Builder |
|
getSentimentOrBuilder()
public SentimentDataOrBuilder getSentimentOrBuilder()Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Returns | |
|---|---|
| Type | Description |
SentimentDataOrBuilder |
|
getType()
public EntityMentionData.MentionType getType()The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.MentionType |
The type. |
getTypeValue()
public int getTypeValue()The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasSentiment()
public boolean hasSentiment()Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sentiment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EntityMentionData other)
public EntityMentionData.Builder mergeFrom(EntityMentionData other)| Parameter | |
|---|---|
| Name | Description |
other |
EntityMentionData |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EntityMentionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EntityMentionData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
mergeSentiment(SentimentData value)
public EntityMentionData.Builder mergeSentiment(SentimentData value)Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SentimentData |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
setEntityUniqueId(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe entityUniqueId to set. |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |
setEntityUniqueIdBytes(ByteString value)
public EntityMentionData.Builder setEntityUniqueIdBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for entityUniqueId to set. |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |
setSentiment(SentimentData value)
public EntityMentionData.Builder setSentiment(SentimentData value)Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SentimentData |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
setSentiment(SentimentData.Builder builderForValue)
public EntityMentionData.Builder setSentiment(SentimentData.Builder builderForValue)Sentiment expressed for this mention of the entity.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SentimentData.Builder |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
|
setType(EntityMentionData.MentionType value)
public EntityMentionData.Builder setType(EntityMentionData.MentionType value)The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
EntityMentionData.MentionTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |
setTypeValue(int value)
public EntityMentionData.Builder setTypeValue(int value)The type of the entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
EntityMentionData.Builder |
This builder for chaining. |