Class EmojiReactionSummary.Builder (0.18.0)

public static final class EmojiReactionSummary.Builder extends GeneratedMessageV3.Builder<EmojiReactionSummary.Builder> implements EmojiReactionSummaryOrBuilder

The number of people who reacted to a message with a specific emoji.

Protobuf type google.chat.v1.EmojiReactionSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EmojiReactionSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

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
Overrides

clearEmoji()

public EmojiReactionSummary.Builder clearEmoji()

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Returns
Type Description
EmojiReactionSummary.Builder

clearField(Descriptors.FieldDescriptor field)

public EmojiReactionSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EmojiReactionSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

clearReactionCount()

public EmojiReactionSummary.Builder clearReactionCount()

The total number of reactions using the associated emoji.

optional int32 reaction_count = 2;

Returns
Type Description
EmojiReactionSummary.Builder

This builder for chaining.

clone()

public EmojiReactionSummary.Builder clone()
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

getDefaultInstanceForType()

public EmojiReactionSummary getDefaultInstanceForType()
Returns
Type Description
EmojiReactionSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEmoji()

public Emoji getEmoji()

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Returns
Type Description
Emoji

The emoji.

getEmojiBuilder()

public Emoji.Builder getEmojiBuilder()

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Returns
Type Description
Emoji.Builder

getEmojiOrBuilder()

public EmojiOrBuilder getEmojiOrBuilder()

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Returns
Type Description
EmojiOrBuilder

getReactionCount()

public int getReactionCount()

The total number of reactions using the associated emoji.

optional int32 reaction_count = 2;

Returns
Type Description
int

The reactionCount.

hasEmoji()

public boolean hasEmoji()

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Returns
Type Description
boolean

Whether the emoji field is set.

hasReactionCount()

public boolean hasReactionCount()

The total number of reactions using the associated emoji.

optional int32 reaction_count = 2;

Returns
Type Description
boolean

Whether the reactionCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEmoji(Emoji value)

public EmojiReactionSummary.Builder mergeEmoji(Emoji value)

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EmojiReactionSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EmojiReactionSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

setEmoji(Emoji value)

public EmojiReactionSummary.Builder setEmoji(Emoji value)

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Parameter
Name Description
value Emoji
Returns
Type Description
EmojiReactionSummary.Builder

setEmoji(Emoji.Builder builderForValue)

public EmojiReactionSummary.Builder setEmoji(Emoji.Builder builderForValue)

Emoji associated with the reactions.

.google.chat.v1.Emoji emoji = 1;

Parameter
Name Description
builderForValue Emoji.Builder
Returns
Type Description
EmojiReactionSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EmojiReactionSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

setReactionCount(int value)

public EmojiReactionSummary.Builder setReactionCount(int value)

The total number of reactions using the associated emoji.

optional int32 reaction_count = 2;

Parameter
Name Description
value int

The reactionCount to set.

Returns
Type Description
EmojiReactionSummary.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EmojiReactionSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EmojiReactionSummary.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EmojiReactionSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EmojiReactionSummary.Builder
Overrides