Enum MediaType (3.52.0)

public enum MediaType extends Enum<MediaType> implements ProtocolMessageEnum

Type of media used.

Protobuf enum google.cloud.channel.v1.MediaType

Implements

ProtocolMessageEnum

Static Fields

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

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