Enum Attachment.Source (0.15.0)

public enum Attachment.Source extends Enum<Attachment.Source> implements ProtocolMessageEnum

The source of the attachment.

Protobuf enum google.chat.v1.Attachment.Source

Implements

ProtocolMessageEnum

Static Fields

Name Description
DRIVE_FILE

The file is a Google Drive file.

DRIVE_FILE = 1;

DRIVE_FILE_VALUE

The file is a Google Drive file.

DRIVE_FILE = 1;

SOURCE_UNSPECIFIED

Reserved.

SOURCE_UNSPECIFIED = 0;

SOURCE_UNSPECIFIED_VALUE

Reserved.

SOURCE_UNSPECIFIED = 0;

UNRECOGNIZED
UPLOADED_CONTENT

The file is uploaded to Chat.

UPLOADED_CONTENT = 2;

UPLOADED_CONTENT_VALUE

The file is uploaded to Chat.

UPLOADED_CONTENT = 2;

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()