Enum MediaType (3.14.0)

public enum MediaType extends Enum<MediaType> implements ProtocolMessageEnum

Type of media used.

Protobuf enum google.cloud.channel.v1.MediaType

Implements

ProtocolMessageEnum

Static 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

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