Package com.google.cloud.documentai.v1
Interface Document.Provenance.ParentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Provenance.Parent,Document.Provenance.Parent.Builder
- Enclosing class:
- Document.Provenance
public static interface Document.Provenance.ParentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()Deprecated.google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated.intgetIndex()The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.intThe index of the index into current revision's parent_ids list.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRevision
int getRevision()The index of the index into current revision's parent_ids list.
int32 revision = 1;- Returns:
- The revision.
-
getIndex
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:
- The index.
-
getId
Deprecated.google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See google/cloud/documentai/v1/document.proto;l=806The id of the parent provenance.
int32 id = 2 [deprecated = true];- Returns:
- The id.
-