Class TextAnnotation.DetectedLanguage (2.1.2)

public static final class TextAnnotation.DetectedLanguage extends GeneratedMessageV3 implements TextAnnotation.DetectedLanguageOrBuilder

Detected language for a structural component.

Protobuf type google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TextAnnotation.DetectedLanguage

Static Fields

CONFIDENCE_FIELD_NUMBER

public static final int CONFIDENCE_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TextAnnotation.DetectedLanguage getDefaultInstance()
Returns
TypeDescription
TextAnnotation.DetectedLanguage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TextAnnotation.DetectedLanguage.Builder newBuilder()
Returns
TypeDescription
TextAnnotation.DetectedLanguage.Builder

newBuilder(TextAnnotation.DetectedLanguage prototype)

public static TextAnnotation.DetectedLanguage.Builder newBuilder(TextAnnotation.DetectedLanguage prototype)
Parameter
NameDescription
prototypeTextAnnotation.DetectedLanguage
Returns
TypeDescription
TextAnnotation.DetectedLanguage.Builder

parseDelimitedFrom(InputStream input)

public static TextAnnotation.DetectedLanguage parseDelimit