Interface Document.ProvenanceOrBuilder (2.37.0)

public static interface Document.ProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId() (deprecated)

public abstract int getId()

Deprecated. google.cloud.documentai.v1beta2.Document.Provenance.id is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=853

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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.Document.Provenance.Parent parents = 3;

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

getRevision() (deprecated)

public abstract int getRevision()

Deprecated. google.cloud.documentai.v1beta2.Document.Provenance.revision is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=849

The index of the revision that produced this element.

int32 revision = 1 [deprecated = true];

Returns
TypeDescription
int

The revision.

getType()

public abstract Document.Provenance.OperationType getType()

The type of provenance operation.

.google.cloud.documentai.v1beta2.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.v1beta2.Document.Provenance.OperationType type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for type.