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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetId()Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.Parent.id is deprecated.intgetIndex()The index of the parent item in the corresponding item list (eg.intgetRevision()The index of the index into current revision's parent_ids list.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 int getId()
Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.Parent.id is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=812The id of the parent provenance.
int32 id = 2 [deprecated = true];- Returns:
- The id.
-
-