Class ReactionBatchCreatedEventData.Builder (0.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ReactionBatchCreatedEventData.Builder extends GeneratedMessage.Builder<ReactionBatchCreatedEventData.Builder> implements ReactionBatchCreatedEventDataOrBuilder
Event payload for multiple new reactions.
Event type: google.workspace.chat.reaction.v1.batchCreated
Protobuf type google.chat.v1.ReactionBatchCreatedEventData
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllReactions(Iterable<? extends ReactionCreatedEventData> values)
public ReactionBatchCreatedEventData.Builder addAllReactions(Iterable<? extends ReactionCreatedEventData> values)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.chat.v1.ReactionCreatedEventData>
|
addReactions(ReactionCreatedEventData value)
public ReactionBatchCreatedEventData.Builder addReactions(ReactionCreatedEventData value)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
addReactions(ReactionCreatedEventData.Builder builderForValue)
public ReactionBatchCreatedEventData.Builder addReactions(ReactionCreatedEventData.Builder builderForValue)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
addReactions(int index, ReactionCreatedEventData value)
public ReactionBatchCreatedEventData.Builder addReactions(int index, ReactionCreatedEventData value)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
addReactions(int index, ReactionCreatedEventData.Builder builderForValue)
public ReactionBatchCreatedEventData.Builder addReactions(int index, ReactionCreatedEventData.Builder builderForValue)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
addReactionsBuilder()
public ReactionCreatedEventData.Builder addReactionsBuilder()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
addReactionsBuilder(int index)
public ReactionCreatedEventData.Builder addReactionsBuilder(int index)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public ReactionBatchCreatedEventData build()
buildPartial()
public ReactionBatchCreatedEventData buildPartial()
clear()
public ReactionBatchCreatedEventData.Builder clear()
Overrides
clearReactions()
public ReactionBatchCreatedEventData.Builder clearReactions()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
getDefaultInstanceForType()
public ReactionBatchCreatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReactions(int index)
public ReactionCreatedEventData getReactions(int index)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getReactionsBuilder(int index)
public ReactionCreatedEventData.Builder getReactionsBuilder(int index)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getReactionsBuilderList()
public List<ReactionCreatedEventData.Builder> getReactionsBuilderList()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
getReactionsCount()
public int getReactionsCount()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Returns |
| Type |
Description |
int |
|
getReactionsList()
public List<ReactionCreatedEventData> getReactionsList()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
getReactionsOrBuilder(int index)
public ReactionCreatedEventDataOrBuilder getReactionsOrBuilder(int index)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getReactionsOrBuilderList()
public List<? extends ReactionCreatedEventDataOrBuilder> getReactionsOrBuilderList()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Returns |
| Type |
Description |
List<? extends com.google.chat.v1.ReactionCreatedEventDataOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReactionBatchCreatedEventData other)
public ReactionBatchCreatedEventData.Builder mergeFrom(ReactionBatchCreatedEventData other)
public ReactionBatchCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReactionBatchCreatedEventData.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeReactions(int index)
public ReactionBatchCreatedEventData.Builder removeReactions(int index)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
| Parameter |
| Name |
Description |
index |
int
|
setReactions(int index, ReactionCreatedEventData value)
public ReactionBatchCreatedEventData.Builder setReactions(int index, ReactionCreatedEventData value)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
setReactions(int index, ReactionCreatedEventData.Builder builderForValue)
public ReactionBatchCreatedEventData.Builder setReactions(int index, ReactionCreatedEventData.Builder builderForValue)
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]