public static final class MessageCreatedEventData.Builder extends GeneratedMessageV3.Builder<MessageCreatedEventData.Builder> implements MessageCreatedEventDataOrBuilder
Event payload for a new message.
Event type: google.workspace.chat.message.v1.created
Protobuf type google.chat.v1.MessageCreatedEventData
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 MessageCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MessageCreatedEventData build()
buildPartial()
public MessageCreatedEventData buildPartial()
clear()
public MessageCreatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MessageCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public MessageCreatedEventData.Builder clearMessage()
The new message.
.google.chat.v1.Message message = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MessageCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MessageCreatedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MessageCreatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessage()
public Message getMessage()
The new message.
.google.chat.v1.Message message = 1;
Returns |
Type |
Description |
Message |
The message.
|
getMessageBuilder()
public Message.Builder getMessageBuilder()
The new message.
.google.chat.v1.Message message = 1;
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
The new message.
.google.chat.v1.Message message = 1;
hasMessage()
public boolean hasMessage()
The new message.
.google.chat.v1.Message message = 1;
Returns |
Type |
Description |
boolean |
Whether the message field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MessageCreatedEventData other)
public MessageCreatedEventData.Builder mergeFrom(MessageCreatedEventData other)
public MessageCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MessageCreatedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMessage(Message value)
public MessageCreatedEventData.Builder mergeMessage(Message value)
The new message.
.google.chat.v1.Message message = 1;
Parameter |
Name |
Description |
value |
Message
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessageCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MessageCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessage(Message value)
public MessageCreatedEventData.Builder setMessage(Message value)
The new message.
.google.chat.v1.Message message = 1;
Parameter |
Name |
Description |
value |
Message
|
setMessage(Message.Builder builderForValue)
public MessageCreatedEventData.Builder setMessage(Message.Builder builderForValue)
The new message.
.google.chat.v1.Message message = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessageCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MessageCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides