Interface Document.RevisionOrBuilder

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

    public static interface Document.RevisionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getAgent()
      If the change was made by a person specify the name or id of that person.
      com.google.protobuf.ByteString getAgentBytes()
      If the change was made by a person specify the name or id of that person.
      com.google.protobuf.Timestamp getCreateTime()
      The time that the revision was created, internally generated by doc proto storage at the time of create.
      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      The time that the revision was created, internally generated by doc proto storage at the time of create.
      Document.Revision.HumanReview getHumanReview()
      Human Review information of this revision.
      Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
      Human Review information of this revision.
      String getId()
      Id of the revision, internally generated by doc proto storage.
      com.google.protobuf.ByteString getIdBytes()
      Id of the revision, internally generated by doc proto storage.
      int getParent​(int index)
      Deprecated.
      google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.
      int getParentCount()
      Deprecated.
      google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.
      String getParentIds​(int index)
      The revisions that this revision is based on.
      com.google.protobuf.ByteString getParentIdsBytes​(int index)
      The revisions that this revision is based on.
      int getParentIdsCount()
      The revisions that this revision is based on.
      List<String> getParentIdsList()
      The revisions that this revision is based on.
      List<Integer> getParentList()
      Deprecated.
      google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.
      String getProcessor()
      If the annotation was made by processor identify the processor by its resource name.
      com.google.protobuf.ByteString getProcessorBytes()
      If the annotation was made by processor identify the processor by its resource name.
      Document.Revision.SourceCase getSourceCase()  
      boolean hasAgent()
      If the change was made by a person specify the name or id of that person.
      boolean hasCreateTime()
      The time that the revision was created, internally generated by doc proto storage at the time of create.
      boolean hasHumanReview()
      Human Review information of this revision.
      boolean hasProcessor()
      If the annotation was made by processor identify the processor by its resource name.
      • 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

      • hasAgent

        boolean hasAgent()
         If the change was made by a person specify the name or id of that
         person.
         
        string agent = 4;
        Returns:
        Whether the agent field is set.
      • getAgent

        String getAgent()
         If the change was made by a person specify the name or id of that
         person.
         
        string agent = 4;
        Returns:
        The agent.
      • getAgentBytes

        com.google.protobuf.ByteString getAgentBytes()
         If the change was made by a person specify the name or id of that
         person.
         
        string agent = 4;
        Returns:
        The bytes for agent.
      • hasProcessor

        boolean hasProcessor()
         If the annotation was made by processor identify the processor by its
         resource name.
         
        string processor = 5;
        Returns:
        Whether the processor field is set.
      • getProcessor

        String getProcessor()
         If the annotation was made by processor identify the processor by its
         resource name.
         
        string processor = 5;
        Returns:
        The processor.
      • getProcessorBytes

        com.google.protobuf.ByteString getProcessorBytes()
         If the annotation was made by processor identify the processor by its
         resource name.
         
        string processor = 5;
        Returns:
        The bytes for processor.
      • getId

        String getId()
         Id of the revision, internally generated by doc proto storage.
         Unique within the context of the document.
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Id of the revision, internally generated by doc proto storage.
         Unique within the context of the document.
         
        string id = 1;
        Returns:
        The bytes for id.
      • getParentList

        @Deprecated
        List<Integer> getParentList()
        Deprecated.
        google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866
         The revisions that this revision is based on.  This can include one or
         more parent (when documents are merged.)  This field represents the
         index into the `revisions` field.
         
        repeated int32 parent = 2 [deprecated = true];
        Returns:
        A list containing the parent.
      • getParentCount

        @Deprecated
        int getParentCount()
        Deprecated.
        google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866
         The revisions that this revision is based on.  This can include one or
         more parent (when documents are merged.)  This field represents the
         index into the `revisions` field.
         
        repeated int32 parent = 2 [deprecated = true];
        Returns:
        The count of parent.
      • getParent

        @Deprecated
        int getParent​(int index)
        Deprecated.
        google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866
         The revisions that this revision is based on.  This can include one or
         more parent (when documents are merged.)  This field represents the
         index into the `revisions` field.
         
        repeated int32 parent = 2 [deprecated = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The parent at the given index.
      • getParentIdsList

        List<String> getParentIdsList()
         The revisions that this revision is based on. Must include all the ids
         that have anything to do with this revision - eg. there are
         `provenance.parent.revision` fields that index into this field.
         
        repeated string parent_ids = 7;
        Returns:
        A list containing the parentIds.
      • getParentIdsCount

        int getParentIdsCount()
         The revisions that this revision is based on. Must include all the ids
         that have anything to do with this revision - eg. there are
         `provenance.parent.revision` fields that index into this field.
         
        repeated string parent_ids = 7;
        Returns:
        The count of parentIds.
      • getParentIds

        String getParentIds​(int index)
         The revisions that this revision is based on. Must include all the ids
         that have anything to do with this revision - eg. there are
         `provenance.parent.revision` fields that index into this field.
         
        repeated string parent_ids = 7;
        Parameters:
        index - The index of the element to return.
        Returns:
        The parentIds at the given index.
      • getParentIdsBytes

        com.google.protobuf.ByteString getParentIdsBytes​(int index)
         The revisions that this revision is based on. Must include all the ids
         that have anything to do with this revision - eg. there are
         `provenance.parent.revision` fields that index into this field.
         
        repeated string parent_ids = 7;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the parentIds at the given index.
      • hasCreateTime

        boolean hasCreateTime()
         The time that the revision was created, internally generated by
         doc proto storage at the time of create.
         
        .google.protobuf.Timestamp create_time = 3;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         The time that the revision was created, internally generated by
         doc proto storage at the time of create.
         
        .google.protobuf.Timestamp create_time = 3;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time that the revision was created, internally generated by
         doc proto storage at the time of create.
         
        .google.protobuf.Timestamp create_time = 3;
      • hasHumanReview

        boolean hasHumanReview()
         Human Review information of this revision.
         
        .google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
        Returns:
        Whether the humanReview field is set.
      • getHumanReview

        Document.Revision.HumanReview getHumanReview()
         Human Review information of this revision.
         
        .google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
        Returns:
        The humanReview.
      • getHumanReviewOrBuilder

        Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
         Human Review information of this revision.
         
        .google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;