Interface Document.Provenance.ParentOrBuilder (2.51.0)

public static interface Document.Provenance.ParentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId() (deprecated)

public abstract int getId()

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

The id of the parent provenance.

int32 id = 2 [deprecated = true];

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

The index.

getRevision()

public abstract int getRevision()

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

int32 revision = 1;

Returns
Type Description
int

The revision.