public static final class ReactionBatchCreatedEventData.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReactionBatchCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReactionBatchCreatedEventData build()
buildPartial()
public ReactionBatchCreatedEventData buildPartial()
clear()
public ReactionBatchCreatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReactionBatchCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReactionBatchCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReactions()
public ReactionBatchCreatedEventData.Builder clearReactions()
A list of new reactions.
repeated .google.chat.v1.ReactionCreatedEventData reactions = 1;
clone()
public ReactionBatchCreatedEventData.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReactionBatchCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReactionBatchCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReactionBatchCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReactionBatchCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides