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 StringgetAgent()If the change was made by a person specify the name or id of that person.com.google.protobuf.ByteStringgetAgentBytes()If the change was made by a person specify the name or id of that person.com.google.protobuf.TimestampgetCreateTime()The time that the revision was created, internally generated by doc proto storage at the time of create.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time that the revision was created, internally generated by doc proto storage at the time of create.Document.Revision.HumanReviewgetHumanReview()Human Review information of this revision.Document.Revision.HumanReviewOrBuildergetHumanReviewOrBuilder()Human Review information of this revision.StringgetId()Id of the revision, internally generated by doc proto storage.com.google.protobuf.ByteStringgetIdBytes()Id of the revision, internally generated by doc proto storage.intgetParent(int index)Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated.intgetParentCount()Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated.StringgetParentIds(int index)The revisions that this revision is based on.com.google.protobuf.ByteStringgetParentIdsBytes(int index)The revisions that this revision is based on.intgetParentIdsCount()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.v1beta2.Document.Revision.parent is deprecated.StringgetProcessor()If the annotation was made by processor identify the processor by its resource name.com.google.protobuf.ByteStringgetProcessorBytes()If the annotation was made by processor identify the processor by its resource name.Document.Revision.SourceCasegetSourceCase()booleanhasAgent()If the change was made by a person specify the name or id of that person.booleanhasCreateTime()The time that the revision was created, internally generated by doc proto storage at the time of create.booleanhasHumanReview()Human Review information of this revision.booleanhasProcessor()If the annotation was made by processor identify the processor by its resource name.-
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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.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.v1beta2.Document.Revision.HumanReview human_review = 6;- Returns:
- The humanReview.
-
getHumanReviewOrBuilder
Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
-
getSourceCase
Document.Revision.SourceCase getSourceCase()
-
-