public static final class EmojiReactionSummary.Builder extends GeneratedMessage.Builder<EmojiReactionSummary.Builder> implements EmojiReactionSummaryOrBuilderThe number of people who reacted to a message with a specific emoji.
Protobuf type google.chat.v1.EmojiReactionSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EmojiReactionSummary.BuilderImplements
EmojiReactionSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EmojiReactionSummary build()| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary |
|
buildPartial()
public EmojiReactionSummary buildPartial()| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary |
|
clear()
public EmojiReactionSummary.Builder clear()| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
clearEmoji()
public EmojiReactionSummary.Builder clearEmoji()Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
clearReactionCount()
public EmojiReactionSummary.Builder clearReactionCount()Output only. The total number of reactions using the associated emoji.
optional int32 reaction_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EmojiReactionSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEmoji()
public Emoji getEmoji()Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Emoji |
The emoji. |
getEmojiBuilder()
public Emoji.Builder getEmojiBuilder()Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
getEmojiOrBuilder()
public EmojiOrBuilder getEmojiOrBuilder()Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EmojiOrBuilder |
|
getReactionCount()
public int getReactionCount()Output only. The total number of reactions using the associated emoji.
optional int32 reaction_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The reactionCount. |
hasEmoji()
public boolean hasEmoji()Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the emoji field is set. |
hasReactionCount()
public boolean hasReactionCount()Output only. The total number of reactions using the associated emoji.
optional int32 reaction_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reactionCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEmoji(Emoji value)
public EmojiReactionSummary.Builder mergeEmoji(Emoji value)Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Emoji |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
mergeFrom(EmojiReactionSummary other)
public EmojiReactionSummary.Builder mergeFrom(EmojiReactionSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
EmojiReactionSummary |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EmojiReactionSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EmojiReactionSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
setEmoji(Emoji value)
public EmojiReactionSummary.Builder setEmoji(Emoji value)Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Emoji |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
setEmoji(Emoji.Builder builderForValue)
public EmojiReactionSummary.Builder setEmoji(Emoji.Builder builderForValue)Output only. Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Emoji.Builder |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
|
setReactionCount(int value)
public EmojiReactionSummary.Builder setReactionCount(int value)Output only. The total number of reactions using the associated emoji.
optional int32 reaction_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe reactionCount to set. |
| Returns | |
|---|---|
| Type | Description |
EmojiReactionSummary.Builder |
This builder for chaining. |