Class MessageDeletedEventData.Builder (0.18.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MessageDeletedEventData build()
Returns
Type Description
MessageDeletedEventData

buildPartial()

public MessageDeletedEventData buildPartial()
Returns
Type Description
MessageDeletedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

public MessageDeletedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MessageDeletedEventData.Builder
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;

Returns
Type Description
MessageDeletedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MessageDeletedEventData getDefaultInstanceForType()
Returns
Type Description
MessageDeletedEventData

getDescriptorForType()

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

Returns
Type Description
Message.Builder

getMessageOrBuilder()

public MessageOrBuilder getMessageOrBuilder()

The deleted message. Only the name, createTime, deleteTime, and deletionMetadata fields are populated.

.google.chat.v1.Message message = 1;

Returns
Type Description
MessageOrBuilder

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MessageDeletedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MessageDeletedEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MessageDeletedEventData.Builder
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
Returns
Type Description
MessageDeletedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MessageDeletedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MessageDeletedEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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;

Parameter
Name Description
builderForValue Message.Builder
Returns
Type Description
MessageDeletedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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