Class ReactionCreatedEventData.Builder (0.15.0)

public static final class ReactionCreatedEventData.Builder extends GeneratedMessageV3.Builder<ReactionCreatedEventData.Builder> implements ReactionCreatedEventDataOrBuilder

Event payload for a new reaction.

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

Protobuf type google.chat.v1.ReactionCreatedEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReactionCreatedEventData build()
Returns
Type Description
ReactionCreatedEventData

buildPartial()

public ReactionCreatedEventData buildPartial()
Returns
Type Description
ReactionCreatedEventData

clear()

public ReactionCreatedEventData.Builder clear()
Returns
Type Description
ReactionCreatedEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReaction()

public ReactionCreatedEventData.Builder clearReaction()

The new reaction.

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

Returns
Type Description
ReactionCreatedEventData.Builder

clone()

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

getDefaultInstanceForType()

public ReactionCreatedEventData getDefaultInstanceForType()
Returns
Type Description
ReactionCreatedEventData

getDescriptorForType()

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

getReaction()

public Reaction getReaction()

The new reaction.

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

Returns
Type Description
Reaction

The reaction.

getReactionBuilder()

public Reaction.Builder getReactionBuilder()

The new reaction.

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

Returns
Type Description
Reaction.Builder

getReactionOrBuilder()

public ReactionOrBuilder getReactionOrBuilder()

The new reaction.

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

Returns
Type Description
ReactionOrBuilder

hasReaction()

public boolean hasReaction()

The new reaction.

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

Returns
Type Description
boolean

Whether the reaction field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReactionCreatedEventData other)

public ReactionCreatedEventData.Builder mergeFrom(ReactionCreatedEventData other)
Parameter
Name Description
other ReactionCreatedEventData
Returns
Type Description
ReactionCreatedEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReactionCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactionCreatedEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeReaction(Reaction value)

public ReactionCreatedEventData.Builder mergeReaction(Reaction value)

The new reaction.

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

Parameter
Name Description
value Reaction
Returns
Type Description
ReactionCreatedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setReaction(Reaction value)

public ReactionCreatedEventData.Builder setReaction(Reaction value)

The new reaction.

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

Parameter
Name Description
value Reaction
Returns
Type Description
ReactionCreatedEventData.Builder

setReaction(Reaction.Builder builderForValue)

public ReactionCreatedEventData.Builder setReaction(Reaction.Builder builderForValue)

The new reaction.

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

Parameter
Name Description
builderForValue Reaction.Builder
Returns
Type Description
ReactionCreatedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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