Enum Corpus.Type (0.2.0)

public enum Corpus.Type extends Enum<Corpus.Type> implements ProtocolMessageEnum

Type of the asset inside the corpus.

Protobuf enum google.cloud.visionai.v1.Corpus.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
IMAGE

Asset is an image.

IMAGE = 2;

IMAGE_VALUE

Asset is an image.

IMAGE = 2;

STREAM_VIDEO

Asset is a live streaming video.

STREAM_VIDEO = 1;

STREAM_VIDEO_VALUE

Asset is a live streaming video.

STREAM_VIDEO = 1;

TYPE_UNSPECIFIED

The default type, not supposed to be used. If this default type is used, the corpus will be created as STREAM_VIDEO corpus.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

The default type, not supposed to be used. If this default type is used, the corpus will be created as STREAM_VIDEO corpus.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
VIDEO_ON_DEMAND

Asset is a batch video.

VIDEO_ON_DEMAND = 3;

VIDEO_ON_DEMAND_VALUE

Asset is a batch video.

VIDEO_ON_DEMAND = 3;

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