Class EmojiReactionSummary (0.5.0)

public final class EmojiReactionSummary extends GeneratedMessageV3 implements EmojiReactionSummaryOrBuilder

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

Protobuf type google.chat.v1.EmojiReactionSummary

Static Fields

EMOJI_FIELD_NUMBER

public static final int EMOJI_FIELD_NUMBER
Field Value
TypeDescription
int

REACTION_COUNT_FIELD_NUMBER

public static final int REACTION_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EmojiReactionSummary getDefaultInstance()
Returns
TypeDescription
EmojiReactionSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EmojiReactionSummary.Builder newBuilder()
Returns
TypeDescription
EmojiReactionSummary.Builder

newBuilder(EmojiReactionSummary prototype)

public static EmojiReactionSummary.Builder newBuilder(EmojiReactionSummary prototype)
Parameter
NameDescription
prototypeEmojiReactionSummary
Returns
TypeDescription
EmojiReactionSummary.Builder

parseDelimitedFrom(InputStream input)

public static EmojiReactionSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EmojiReactionSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EmojiReactionSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EmojiReactionSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EmojiReactionSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EmojiReactionSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EmojiReactionSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmojiReactionSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EmojiReactionSummary> parser()
Returns
TypeDescription
Parser<EmojiReactionSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EmojiReactionSummary getDefaultInstanceForType()
Returns
TypeDescription
EmojiReactionSummary

getEmoji()

public Emoji getEmoji()

Emoji associated with the reactions.

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

Returns
TypeDescription
Emoji

The emoji.

getEmojiOrBuilder()

public EmojiOrBuilder getEmojiOrBuilder()

Emoji associated with the reactions.

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

Returns
TypeDescription
EmojiOrBuilder

getParserForType()

public Parser<EmojiReactionSummary> getParserForType()
Returns
TypeDescription
Parser<EmojiReactionSummary>
Overrides

getReactionCount()

public int getReactionCount()

The total number of reactions using the associated emoji.

optional int32 reaction_count = 2;

Returns
TypeDescription
int

The reactionCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEmoji()

public boolean hasEmoji()

Emoji associated with the reactions.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the reactionCount field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EmojiReactionSummary.Builder newBuilderForType()
Returns
TypeDescription
EmojiReactionSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EmojiReactionSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EmojiReactionSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EmojiReactionSummary.Builder toBuilder()
Returns
TypeDescription
EmojiReactionSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException