Enum DeletionMetadata.DeletionType (0.5.0)

public enum DeletionMetadata.DeletionType extends Enum<DeletionMetadata.DeletionType> implements ProtocolMessageEnum

Who deleted the message and how it was deleted.

Protobuf enum google.chat.v1.DeletionMetadata.DeletionType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ADMIN

A Google Workspace admin deleted the message.

ADMIN = 3;

ADMIN_VALUE

A Google Workspace admin deleted the message.

ADMIN = 3;

APP_MESSAGE_EXPIRY

A Chat app deleted its own message when it expired.

APP_MESSAGE_EXPIRY = 4;

APP_MESSAGE_EXPIRY_VALUE

A Chat app deleted its own message when it expired.

APP_MESSAGE_EXPIRY = 4;

CREATOR

User deleted their own message.

CREATOR = 1;

CREATOR_VALUE

User deleted their own message.

CREATOR = 1;

CREATOR_VIA_APP

A Chat app deleted the message on behalf of the user.

CREATOR_VIA_APP = 5;

CREATOR_VIA_APP_VALUE

A Chat app deleted the message on behalf of the user.

CREATOR_VIA_APP = 5;

DELETION_TYPE_UNSPECIFIED

This value is unused.

DELETION_TYPE_UNSPECIFIED = 0;

DELETION_TYPE_UNSPECIFIED_VALUE

This value is unused.

DELETION_TYPE_UNSPECIFIED = 0;

SPACE_OWNER

The space owner deleted the message.

SPACE_OWNER = 2;

SPACE_OWNER_VALUE

The space owner deleted the message.

SPACE_OWNER = 2;

SPACE_OWNER_VIA_APP

A Chat app deleted the message on behalf of the space owner.

SPACE_OWNER_VIA_APP = 6;

SPACE_OWNER_VIA_APP_VALUE

A Chat app deleted the message on behalf of the space owner.

SPACE_OWNER_VIA_APP = 6;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()