Interface Document.ProvenanceOrBuilder (2.55.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=854

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

int32 id = 2 [deprecated = true];

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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=850

The index of the revision that produced this element.

int32 revision = 1 [deprecated = true];

Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.