public static final class ReactionCreatedEventData.Builder extends GeneratedMessageV3.Builder<ReactionCreatedEventData.Builder> implements ReactionCreatedEventDataOrBuilder
Event payload for a new reaction.
Event type: google.workspace.chat.reaction.v1.created
Protobuf type google.chat.v1.ReactionCreatedEventData
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReactionCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReactionCreatedEventData build()
buildPartial()
public ReactionCreatedEventData buildPartial()
clear()
public ReactionCreatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReactionCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReactionCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReaction()
public ReactionCreatedEventData.Builder clearReaction()
The new reaction.
.google.chat.v1.Reaction reaction = 1;
clone()
public ReactionCreatedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public ReactionCreatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReaction()
public Reaction getReaction()
The new reaction.
.google.chat.v1.Reaction reaction = 1;
Returns |
Type |
Description |
Reaction |
The reaction.
|
getReactionBuilder()
public Reaction.Builder getReactionBuilder()
The new reaction.
.google.chat.v1.Reaction reaction = 1;
getReactionOrBuilder()
public ReactionOrBuilder getReactionOrBuilder()
The new reaction.
.google.chat.v1.Reaction reaction = 1;
hasReaction()
public boolean hasReaction()
The new reaction.
.google.chat.v1.Reaction reaction = 1;
Returns |
Type |
Description |
boolean |
Whether the reaction field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReactionCreatedEventData other)
public ReactionCreatedEventData.Builder mergeFrom(ReactionCreatedEventData other)
public ReactionCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReactionCreatedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReaction(Reaction value)
public ReactionCreatedEventData.Builder mergeReaction(Reaction value)
The new reaction.
.google.chat.v1.Reaction reaction = 1;
Parameter |
Name |
Description |
value |
Reaction
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReactionCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReactionCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReaction(Reaction value)
public ReactionCreatedEventData.Builder setReaction(Reaction value)
The new reaction.
.google.chat.v1.Reaction reaction = 1;
Parameter |
Name |
Description |
value |
Reaction
|
setReaction(Reaction.Builder builderForValue)
public ReactionCreatedEventData.Builder setReaction(Reaction.Builder builderForValue)
The new reaction.
.google.chat.v1.Reaction reaction = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReactionCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReactionCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides