Interface Document.Provenance.ParentOrBuilder (2.6.2)

Stay organized with collections Save and categorize content based on your preferences.
public static interface Document.Provenance.ParentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId() (deprecated)

public abstract int getId()

Deprecated. google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See google/cloud/documentai/v1/document.proto;l=653

The id of the parent provenance.

int32 id = 2 [deprecated = true];

Returns
TypeDescription
int

The id.

getIndex()

public abstract int getIndex()

The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

int32 index = 3;

Returns
TypeDescription
int

The index.

getRevision()

public abstract int getRevision()

The index of the index into current revision's parent_ids list.

int32 revision = 1;

Returns
TypeDescription
int

The revision.