Class ReactionDeletedEventData.Builder (0.16.0)

public static final class ReactionDeletedEventData.Builder extends GeneratedMessageV3.Builder<ReactionDeletedEventData.Builder> implements ReactionDeletedEventDataOrBuilder

Event payload for a deleted reaction.

Type: google.workspace.chat.reaction.v1.deleted

Protobuf type google.chat.v1.ReactionDeletedEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReactionDeletedEventData build()
Returns
Type Description
ReactionDeletedEventData

buildPartial()

public ReactionDeletedEventData buildPartial()
Returns
Type Description
ReactionDeletedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReaction()

public ReactionDeletedEventData.Builder clearReaction()

The deleted reaction.

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

Returns
Type Description
ReactionDeletedEventData.Builder

clone()

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

getDefaultInstanceForType()

public ReactionDeletedEventData getDefaultInstanceForType()
Returns
Type Description
ReactionDeletedEventData

getDescriptorForType()

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

getReaction()

public Reaction getReaction()

The deleted reaction.

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

Returns
Type Description
Reaction

The reaction.

getReactionBuilder()

public Reaction.Builder getReactionBuilder()

The deleted reaction.

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

Returns
Type Description
Reaction.Builder

getReactionOrBuilder()

public ReactionOrBuilder getReactionOrBuilder()

The deleted reaction.

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

Returns
Type Description
ReactionOrBuilder

hasReaction()

public boolean hasReaction()

The deleted 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(ReactionDeletedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReaction(Reaction value)

public ReactionDeletedEventData.Builder mergeReaction(Reaction value)

The deleted reaction.

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

Parameter
Name Description
value Reaction
Returns
Type Description
ReactionDeletedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setReaction(Reaction value)

public ReactionDeletedEventData.Builder setReaction(Reaction value)

The deleted reaction.

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

Parameter
Name Description
value Reaction
Returns
Type Description
ReactionDeletedEventData.Builder

setReaction(Reaction.Builder builderForValue)

public ReactionDeletedEventData.Builder setReaction(Reaction.Builder builderForValue)

The deleted reaction.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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