Class Document.TextAnchor (2.12.0)

public static final class Document.TextAnchor extends GeneratedMessageV3 implements Document.TextAnchorOrBuilder

Text reference indexing into the Document.text.

Protobuf type google.cloud.documentai.v1beta3.Document.TextAnchor

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_SEGMENTS_FIELD_NUMBER

public static final int TEXT_SEGMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Document.TextAnchor getDefaultInstance()
Returns
TypeDescription
Document.TextAnchor

getDescriptor()

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

newBuilder()

public static Document.TextAnchor.Builder newBuilder()
Returns
TypeDescription
Document.TextAnchor.Builder

newBuilder(Document.TextAnchor prototype)

public static Document.TextAnchor.Builder newBuilder(Document.TextAnchor prototype)
Parameter
NameDescription
prototypeDocument.TextAnchor
Returns
TypeDescription
Document.TextAnchor.Builder

parseDelimitedFrom(InputStream input)

public static Document.TextAnchor parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Document.TextAnchor
Exceptions
TypeDescription
IOExceptio