Class Document.Provenance (2.12.0)

public static final class Document.Provenance extends GeneratedMessageV3 implements Document.ProvenanceOrBuilder

Structure to identify provenance relationships between annotations in different revisions.

Protobuf type google.cloud.documentai.v1.Document.Provenance

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENTS_FIELD_NUMBER

public static final int PARENTS_FIELD_NUMBER
Field Value
TypeDescription
int

REVISION_FIELD_NUMBER

public static final int REVISION_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Document.Provenance prototype)

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