Enum DeletionMetadata.DeletionType (0.19.0)

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

Who deleted the message and how it was deleted. More values may be added in the future.

Protobuf enum google.chat.v1.DeletionMetadata.DeletionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()