Class ReactionBatchCreatedEventData.Builder (0.13.0)

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

Static Methods

getDescriptor()

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

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>
Returns
Type Description
ReactionBatchCreatedEventData.Builder

addReactions(ReactionCreatedEventData value)

public ReactionBatchCreatedEventData.Builder addReactions(ReactionCreatedEventData value)

A list of new reactions.

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

Parameter
Name Description
value ReactionCreatedEventData
Returns
Type Description
ReactionBatchCreatedEventData.Builder

addReactions(ReactionCreatedEventData.Builder builderForValue)

public ReactionBatchCreatedEventData.Builder addReactions(ReactionCreatedEventData.Builder builderForValue)

A list of new reactions.

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

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

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;

Parameters
Name Description
index int
value ReactionCreatedEventData
Returns
Type Description
ReactionBatchCreatedEventData.Builder

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;

Parameters
Name Description
index int
builderForValue ReactionCreatedEventData.Builder
Returns
Type Description
ReactionBatchCreatedEventData.Builder

addReactionsBuilder()

public ReactionCreatedEventData.Builder addReactionsBuilder()

A list of new reactions.

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

Returns
Type Description
ReactionCreatedEventData.Builder

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
Returns
Type Description
ReactionCreatedEventData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReactionBatchCreatedEventData build()
Returns
Type Description
ReactionBatchCreatedEventData

buildPartial()

public ReactionBatchCreatedEventData buildPartial()
Returns
Type Description
ReactionBatchCreatedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReactions()

public ReactionBatchCreatedEventData.Builder clearReactions()

A list of new reactions.

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

Returns
Type Description
ReactionBatchCreatedEventData.Builder

clone()

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

getDefaultInstanceForType()

public ReactionBatchCreatedEventData getDefaultInstanceForType()
Returns
Type Description
ReactionBatchCreatedEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
ReactionCreatedEventData

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
Returns
Type Description
ReactionCreatedEventData.Builder

getReactionsBuilderList()

public List<ReactionCreatedEventData.Builder> getReactionsBuilderList()

A list of new reactions.

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

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<ReactionCreatedEventData>

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
Returns
Type Description
ReactionCreatedEventDataOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReactionBatchCreatedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReactionBatchCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReactionBatchCreatedEventData.Builder
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
Returns
Type Description
ReactionBatchCreatedEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReactionBatchCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReactionBatchCreatedEventData.Builder
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;

Parameters
Name Description
index int
value ReactionCreatedEventData
Returns
Type Description
ReactionBatchCreatedEventData.Builder

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;

Parameters
Name Description
index int
builderForValue ReactionCreatedEventData.Builder
Returns
Type Description
ReactionBatchCreatedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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