Class ReactionCreatedEventData (0.16.0)

public final class ReactionCreatedEventData extends GeneratedMessageV3 implements ReactionCreatedEventDataOrBuilder

Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created

Protobuf type google.chat.v1.ReactionCreatedEventData

Static Fields

REACTION_FIELD_NUMBER

public static final int REACTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReactionCreatedEventData getDefaultInstance()
Returns
Type Description
ReactionCreatedEventData

getDescriptor()

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

newBuilder()

public static ReactionCreatedEventData.Builder newBuilder()
Returns
Type Description
ReactionCreatedEventData.Builder

newBuilder(ReactionCreatedEventData prototype)

public static ReactionCreatedEventData.Builder newBuilder(ReactionCreatedEventData prototype)
Parameter
Name Description
prototype ReactionCreatedEventData
Returns
Type Description
ReactionCreatedEventData.Builder

parseDelimitedFrom(InputStream input)

public static ReactionCreatedEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReactionCreatedEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReactionCreatedEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReactionCreatedEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReactionCreatedEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReactionCreatedEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReactionCreatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReactionCreatedEventData> parser()
Returns
Type Description
Parser<ReactionCreatedEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReactionCreatedEventData getDefaultInstanceForType()
Returns
Type Description
ReactionCreatedEventData

getParserForType()

public Parser<ReactionCreatedEventData> getParserForType()
Returns
Type Description
Parser<ReactionCreatedEventData>
Overrides

getReaction()

public Reaction getReaction()

The new reaction.

.google.chat.v1.Reaction reaction = 1;

Returns
Type Description
Reaction

The reaction.

getReactionOrBuilder()

public ReactionOrBuilder getReactionOrBuilder()

The new reaction.

.google.chat.v1.Reaction reaction = 1;

Returns
Type Description
ReactionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReaction()

public boolean hasReaction()

The new reaction.

.google.chat.v1.Reaction reaction = 1;

Returns
Type Description
boolean

Whether the reaction field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReactionCreatedEventData.Builder newBuilderForType()
Returns
Type Description
ReactionCreatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReactionCreatedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReactionCreatedEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReactionCreatedEventData.Builder toBuilder()
Returns
Type Description
ReactionCreatedEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException