Enum Document.Type (2.55.0)

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

The document types enum.

Protobuf enum google.cloud.language.v1.Document.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
HTML

HTML

HTML = 2;

HTML_VALUE

HTML

HTML = 2;

PLAIN_TEXT

Plain text

PLAIN_TEXT = 1;

PLAIN_TEXT_VALUE

Plain text

PLAIN_TEXT = 1;

TYPE_UNSPECIFIED

The content type is not specified.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

The content type is not specified.

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