Enum ContentCategory (0.15.0)

public enum ContentCategory extends Enum<ContentCategory> implements ProtocolMessageEnum

When a raw document or structured content is supplied, this stores the content category.

Protobuf enum google.cloud.contentwarehouse.v1.ContentCategory

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONTENT_CATEGORY_AUDIO

Content is of audio type.

CONTENT_CATEGORY_AUDIO = 2;

CONTENT_CATEGORY_AUDIO_VALUE

Content is of audio type.

CONTENT_CATEGORY_AUDIO = 2;

CONTENT_CATEGORY_IMAGE

Content is of image type.

CONTENT_CATEGORY_IMAGE = 1;

CONTENT_CATEGORY_IMAGE_VALUE

Content is of image type.

CONTENT_CATEGORY_IMAGE = 1;

CONTENT_CATEGORY_UNSPECIFIED

No category is specified.

CONTENT_CATEGORY_UNSPECIFIED = 0;

CONTENT_CATEGORY_UNSPECIFIED_VALUE

No category is specified.

CONTENT_CATEGORY_UNSPECIFIED = 0;

CONTENT_CATEGORY_VIDEO

Content is of video type.

CONTENT_CATEGORY_VIDEO = 3;

CONTENT_CATEGORY_VIDEO_VALUE

Content is of video type.

CONTENT_CATEGORY_VIDEO = 3;

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