Interface Document.Provenance.ParentOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      int getId()
      Deprecated.
      google.cloud.documentai.v1beta3.Document.Provenance.Parent.id is deprecated.
      int getIndex()
      The index of the parent item in the corresponding item list (eg.
      int getRevision()
      The index of the index into current revision's parent_ids list.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.v1beta3.Document.Provenance.Parent.id is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=786
         The id of the parent provenance.
         
        int32 id = 2 [deprecated = true];
        Returns:
        The id.