Enum TextAnnotation.DetectedBreak.BreakType (3.45.0)

public enum TextAnnotation.DetectedBreak.BreakType extends Enum<TextAnnotation.DetectedBreak.BreakType> implements ProtocolMessageEnum

Enum to denote the type of break found. New line, space etc.

Protobuf enum google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType

Implements

ProtocolMessageEnum

Static Fields

Name Description
EOL_SURE_SPACE

Line-wrapping break.

EOL_SURE_SPACE = 3;

EOL_SURE_SPACE_VALUE

Line-wrapping break.

EOL_SURE_SPACE = 3;

HYPHEN

End-line hyphen that is not present in text; does not co-occur with SPACE, LEADER_SPACE, or LINE_BREAK.

HYPHEN = 4;

HYPHEN_VALUE

End-line hyphen that is not present in text; does not co-occur with SPACE, LEADER_SPACE, or LINE_BREAK.

HYPHEN = 4;

LINE_BREAK

Line break that ends a paragraph.

LINE_BREAK = 5;

LINE_BREAK_VALUE

Line break that ends a paragraph.

LINE_BREAK = 5;

SPACE

Regular space.

SPACE = 1;

SPACE_VALUE

Regular space.

SPACE = 1;

SURE_SPACE

Sure space (very wide).

SURE_SPACE = 2;

SURE_SPACE_VALUE

Sure space (very wide).

SURE_SPACE = 2;

UNKNOWN

Unknown break label type.

UNKNOWN = 0;

UNKNOWN_VALUE

Unknown break label type.

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