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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EMOJI_FIELD_NUMBER
public static final int EMOJI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REACTION_COUNT_FIELD_NUMBER
public static final int REACTION_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EmojiReactionSummary getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EmojiReactionSummary.Builder newBuilder()
newBuilder(EmojiReactionSummary prototype)
public static EmojiReactionSummary.Builder newBuilder(EmojiReactionSummary prototype)
public static EmojiReactionSummary parseDelimitedFrom(InputStream input)
public static EmojiReactionSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EmojiReactionSummary parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EmojiReactionSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EmojiReactionSummary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmojiReactionSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmojiReactionSummary parseFrom(CodedInputStream input)
public static EmojiReactionSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EmojiReactionSummary parseFrom(InputStream input)
public static EmojiReactionSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EmojiReactionSummary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EmojiReactionSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EmojiReactionSummary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public EmojiReactionSummary getDefaultInstanceForType()
getEmoji()
Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1;
Returns |
Type |
Description |
Emoji |
The emoji.
|
getEmojiOrBuilder()
public EmojiOrBuilder getEmojiOrBuilder()
Emoji associated with the reactions.
.google.chat.v1.Emoji emoji = 1;
getParserForType()
public Parser<EmojiReactionSummary> getParserForType()
Overrides
getReactionCount()
public int getReactionCount()
The total number of reactions using the associated emoji.
optional int32 reaction_count = 2;
Returns |
Type |
Description |
int |
The reactionCount.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EmojiReactionSummary.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EmojiReactionSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EmojiReactionSummary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides