Enum MediaType

public enum MediaType extends Enum<MediaType> implements ProtocolMessageEnum

Type of media used.

Protobuf enum google.cloud.channel.v1.MediaType

Implements

ProtocolMessageEnum

Fields

NameDescription
MEDIA_TYPE_IMAGE

Type of image.

MEDIA_TYPE_IMAGE = 1;

MEDIA_TYPE_IMAGE_VALUE

Type of image.

MEDIA_TYPE_IMAGE = 1;

MEDIA_TYPE_UNSPECIFIED

Not used.

MEDIA_TYPE_UNSPECIFIED = 0;

MEDIA_TYPE_UNSPECIFIED_VALUE

Not used.

MEDIA_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()