public static final class MessageDeletedEventData.Builder extends GeneratedMessageV3.Builder<MessageDeletedEventData.Builder> implements MessageDeletedEventDataOrBuilder
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
Protobuf type google.chat.v1.MessageDeletedEventData
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 MessageDeletedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MessageDeletedEventData build()
buildPartial()
public MessageDeletedEventData buildPartial()
clear()
public MessageDeletedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MessageDeletedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public MessageDeletedEventData.Builder clearMessage()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MessageDeletedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MessageDeletedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MessageDeletedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessage()
public Message getMessage()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
Returns |
Type |
Description |
Message |
The message.
|
getMessageBuilder()
public Message.Builder getMessageBuilder()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
hasMessage()
public boolean hasMessage()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.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(MessageDeletedEventData other)
public MessageDeletedEventData.Builder mergeFrom(MessageDeletedEventData other)
public MessageDeletedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MessageDeletedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMessage(Message value)
public MessageDeletedEventData.Builder mergeMessage(Message value)
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
Parameter |
Name |
Description |
value |
Message
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessageDeletedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MessageDeletedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessage(Message value)
public MessageDeletedEventData.Builder setMessage(Message value)
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
Parameter |
Name |
Description |
value |
Message
|
setMessage(Message.Builder builderForValue)
public MessageDeletedEventData.Builder setMessage(Message.Builder builderForValue)
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessageDeletedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MessageDeletedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides