Class ReactionBatchDeletedEventData.Builder (0.15.0)

public static final class ReactionBatchDeletedEventData.Builder extends GeneratedMessageV3.Builder<ReactionBatchDeletedEventData.Builder> implements ReactionBatchDeletedEventDataOrBuilder

Event payload for multiple deleted reactions.

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

Protobuf type google.chat.v1.ReactionBatchDeletedEventData

Static Methods

getDescriptor()

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

Methods

addAllReactions(Iterable<? extends ReactionDeletedEventData> values)

public ReactionBatchDeletedEventData.Builder addAllReactions(Iterable<? extends ReactionDeletedEventData> values)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
values Iterable<? extends com.google.chat.v1.ReactionDeletedEventData>
Returns
Type Description
ReactionBatchDeletedEventData.Builder

addReactions(ReactionDeletedEventData value)

public ReactionBatchDeletedEventData.Builder addReactions(ReactionDeletedEventData value)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
value ReactionDeletedEventData
Returns
Type Description
ReactionBatchDeletedEventData.Builder

addReactions(ReactionDeletedEventData.Builder builderForValue)

public ReactionBatchDeletedEventData.Builder addReactions(ReactionDeletedEventData.Builder builderForValue)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

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

addReactions(int index, ReactionDeletedEventData value)

public ReactionBatchDeletedEventData.Builder addReactions(int index, ReactionDeletedEventData value)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameters
Name Description
index int
value ReactionDeletedEventData
Returns
Type Description
ReactionBatchDeletedEventData.Builder

addReactions(int index, ReactionDeletedEventData.Builder builderForValue)

public ReactionBatchDeletedEventData.Builder addReactions(int index, ReactionDeletedEventData.Builder builderForValue)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameters
Name Description
index int
builderForValue ReactionDeletedEventData.Builder
Returns
Type Description
ReactionBatchDeletedEventData.Builder

addReactionsBuilder()

public ReactionDeletedEventData.Builder addReactionsBuilder()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
ReactionDeletedEventData.Builder

addReactionsBuilder(int index)

public ReactionDeletedEventData.Builder addReactionsBuilder(int index)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
index int
Returns
Type Description
ReactionDeletedEventData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReactionBatchDeletedEventData build()
Returns
Type Description
ReactionBatchDeletedEventData

buildPartial()

public ReactionBatchDeletedEventData buildPartial()
Returns
Type Description
ReactionBatchDeletedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReactions()

public ReactionBatchDeletedEventData.Builder clearReactions()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
ReactionBatchDeletedEventData.Builder

clone()

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

getDefaultInstanceForType()

public ReactionBatchDeletedEventData getDefaultInstanceForType()
Returns
Type Description
ReactionBatchDeletedEventData

getDescriptorForType()

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

getReactions(int index)

public ReactionDeletedEventData getReactions(int index)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
index int
Returns
Type Description
ReactionDeletedEventData

getReactionsBuilder(int index)

public ReactionDeletedEventData.Builder getReactionsBuilder(int index)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
index int
Returns
Type Description
ReactionDeletedEventData.Builder

getReactionsBuilderList()

public List<ReactionDeletedEventData.Builder> getReactionsBuilderList()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
List<Builder>

getReactionsCount()

public int getReactionsCount()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
int

getReactionsList()

public List<ReactionDeletedEventData> getReactionsList()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
List<ReactionDeletedEventData>

getReactionsOrBuilder(int index)

public ReactionDeletedEventDataOrBuilder getReactionsOrBuilder(int index)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
index int
Returns
Type Description
ReactionDeletedEventDataOrBuilder

getReactionsOrBuilderList()

public List<? extends ReactionDeletedEventDataOrBuilder> getReactionsOrBuilderList()

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Returns
Type Description
List<? extends com.google.chat.v1.ReactionDeletedEventDataOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReactionBatchDeletedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReactions(int index)

public ReactionBatchDeletedEventData.Builder removeReactions(int index)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameter
Name Description
index int
Returns
Type Description
ReactionBatchDeletedEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setReactions(int index, ReactionDeletedEventData value)

public ReactionBatchDeletedEventData.Builder setReactions(int index, ReactionDeletedEventData value)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameters
Name Description
index int
value ReactionDeletedEventData
Returns
Type Description
ReactionBatchDeletedEventData.Builder

setReactions(int index, ReactionDeletedEventData.Builder builderForValue)

public ReactionBatchDeletedEventData.Builder setReactions(int index, ReactionDeletedEventData.Builder builderForValue)

A list of deleted reactions.

repeated .google.chat.v1.ReactionDeletedEventData reactions = 1;

Parameters
Name Description
index int
builderForValue ReactionDeletedEventData.Builder
Returns
Type Description
ReactionBatchDeletedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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