Package com.google.cloud.documentai.v1
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
Modifier and TypeMethodDescriptiongetAgent()If the change was made by a person specify the name or id of that person.com.google.protobuf.ByteStringIf the change was made by a person specify the name or id of that person.com.google.protobuf.TimestampThe time that the revision was created, internally generated by doc proto storage at the time of create.com.google.protobuf.TimestampOrBuilderThe time that the revision was created, internally generated by doc proto storage at the time of create.Human Review information of this revision.Human Review information of this revision.getId()Id of the revision, internally generated by doc proto storage.com.google.protobuf.ByteStringId of the revision, internally generated by doc proto storage.intgetParent(int index) Deprecated.google.cloud.documentai.v1.Document.Revision.parent is deprecated.intDeprecated.google.cloud.documentai.v1.Document.Revision.parent is deprecated.getParentIds(int index) The revisions that this revision is based on.com.google.protobuf.ByteStringgetParentIdsBytes(int index) The revisions that this revision is based on.intThe revisions that this revision is based on.The revisions that this revision is based on.Deprecated.google.cloud.documentai.v1.Document.Revision.parent is deprecated.If the annotation was made by processor identify the processor by its resource name.com.google.protobuf.ByteStringIf the annotation was made by processor identify the processor by its resource name.booleanhasAgent()If the change was made by a person specify the name or id of that person.booleanThe time that the revision was created, internally generated by doc proto storage at the time of create.booleanHuman Review information of this revision.booleanIf the annotation was made by processor identify the processor by its resource name.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
-
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.google.cloud.documentai.v1.Document.Revision.parent is deprecated. See google/cloud/documentai/v1/document.proto;l=886The 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.google.cloud.documentai.v1.Document.Revision.parent is deprecated. See google/cloud/documentai/v1/document.proto;l=886The 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.google.cloud.documentai.v1.Document.Revision.parent is deprecated. See google/cloud/documentai/v1/document.proto;l=886The 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
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
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.v1.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.v1.Document.Revision.HumanReview human_review = 6;- Returns:
- The humanReview.
-
getHumanReviewOrBuilder
Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()Human Review information of this revision.
.google.cloud.documentai.v1.Document.Revision.HumanReview human_review = 6; -
getSourceCase
Document.Revision.SourceCase getSourceCase()
-