Enum ImageCharacteristics.ColorSpace (0.66.0)

public enum ImageCharacteristics.ColorSpace extends Enum<ImageCharacteristics.ColorSpace> implements ProtocolMessageEnum

Possible color spaces of an image (e.g., "RGB", "CMYK", "Grayscale").

Protobuf enum google.cloud.discoveryengine.v1alpha.ImageCharacteristics.ColorSpace

Implements

ProtocolMessageEnum

Static Fields

Name Description
CMYK

Cyan, magenta, yellow, and black colorspace.

CMYK = 2;

CMYK_VALUE

Cyan, magenta, yellow, and black colorspace.

CMYK = 2;

COLOR_SPACE_UNSPECIFIED

Default value. Unknown color space.

COLOR_SPACE_UNSPECIFIED = 0;

COLOR_SPACE_UNSPECIFIED_VALUE

Default value. Unknown color space.

COLOR_SPACE_UNSPECIFIED = 0;

GRAYSCALE

Grayscale colorspace.

GRAYSCALE = 3;

GRAYSCALE_VALUE

Grayscale colorspace.

GRAYSCALE = 3;

OTHER_COLOR_SPACE

Other colorspace.

OTHER_COLOR_SPACE = 5;

OTHER_COLOR_SPACE_VALUE

Other colorspace.

OTHER_COLOR_SPACE = 5;

RGB

Red, green, blue colorspace.

RGB = 1;

RGB_VALUE

Red, green, blue colorspace.

RGB = 1;

UNRECOGNIZED
YUV

YUV colorspace.

YUV = 4;

YUV_VALUE

YUV colorspace.

YUV = 4;

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