Interface Document.ProvenanceOrBuilder (2.4.3)

public static interface Document.ProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract int getId()

The Id of this operation. Needs to be unique within the scope of the revision.

int32 id = 2 [deprecated = true];

Returns
TypeDescription
int

The id.

getParents(int index)

public abstract Document.Provenance.Parent getParents(int index)

References to the original elements that are replaced.

repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Provenance.Parent

getParentsCount()

public abstract int getParentsCount()

References to the original elements that are replaced.

repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;

Returns
TypeDescription
int

getParentsList()

public abstract List<Document.Provenance.Parent> getParentsList()

References to the original elements that are replaced.

repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;

Returns
TypeDescription
List<Parent>

getParentsOrBuilder(int index)

public abstract Document.Provenance.ParentOrBuilder getParentsOrBuilder(int index)

References to the original elements that are replaced.

repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Provenance.ParentOrBuilder

getParentsOrBuilderList()

public abstract List<? extends Document.Provenance.ParentOrBuilder> getParentsOrBuilderList()

References to the original elements that are replaced.

repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.Document.Provenance.ParentOrBuilder>

getRevision()

public abstract int getRevision()

The index of the revision that produced this element.

int32 revision = 1;

Returns
TypeDescription
int

The revision.

getType()

public abstract Document.Provenance.OperationType getType()

The type of provenance operation.

.google.cloud.documentai.v1.Document.Provenance.OperationType type = 4;

Returns
TypeDescription
Document.Provenance.OperationType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of provenance operation.

.google.cloud.documentai.v1.Document.Provenance.OperationType type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for type.