Interface Document.ProvenanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Document.Provenance, Document.Provenance.Builder
Enclosing class:
Document

public static interface Document.ProvenanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRevision

      @Deprecated int getRevision()
      Deprecated.
      google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See google/cloud/documentai/v1/document.proto;l=843
       The index of the revision that produced this element.
       
      int32 revision = 1 [deprecated = true];
      Returns:
      The revision.
    • getId

      @Deprecated int getId()
      Deprecated.
      google.cloud.documentai.v1.Document.Provenance.id is deprecated. See google/cloud/documentai/v1/document.proto;l=847
       The Id of this operation.  Needs to be unique within the scope of the
       revision.
       
      int32 id = 2 [deprecated = true];
      Returns:
      The id.
    • getParentsList

      List<Document.Provenance.Parent> getParentsList()
       References to the original elements that are replaced.
       
      repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;
    • getParents

      Document.Provenance.Parent getParents(int index)
       References to the original elements that are replaced.
       
      repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;
    • getParentsCount

      int getParentsCount()
       References to the original elements that are replaced.
       
      repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;
    • getParentsOrBuilderList

      List<? extends Document.Provenance.ParentOrBuilder> getParentsOrBuilderList()
       References to the original elements that are replaced.
       
      repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;
    • getParentsOrBuilder

      Document.Provenance.ParentOrBuilder getParentsOrBuilder(int index)
       References to the original elements that are replaced.
       
      repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3;
    • getTypeValue

      int getTypeValue()
       The type of provenance operation.
       
      .google.cloud.documentai.v1.Document.Provenance.OperationType type = 4;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       The type of provenance operation.
       
      .google.cloud.documentai.v1.Document.Provenance.OperationType type = 4;
      Returns:
      The type.