- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static interface Document.RevisionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAgent()
public abstract String getAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Returns | |
---|---|
Type | Description |
String |
The agent. |
getAgentBytes()
public abstract ByteString getAgentBytes()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for agent. |
getCreateTime()
public abstract 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 | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getHumanReview()
public abstract Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Returns | |
---|---|
Type | Description |
Document.Revision.HumanReview |
The humanReview. |
getHumanReviewOrBuilder()
public abstract Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Returns | |
---|---|
Type | Description |
Document.Revision.HumanReviewOrBuilder |
getId()
public abstract String getId()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getParent(int index) (deprecated)
public abstract int getParent(int index)
Deprecated. google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=867
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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int |
The parent at the given index. |
getParentCount() (deprecated)
public abstract int getParentCount()
Deprecated. google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=867
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 | |
---|---|
Type | Description |
int |
The count of parent. |
getParentIds(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The parentIds at the given index. |
getParentIdsBytes(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the parentIds at the given index. |
getParentIdsCount()
public abstract 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 | |
---|---|
Type | Description |
int |
The count of parentIds. |
getParentIdsList()
public abstract 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 | |
---|---|
Type | Description |
List<String> |
A list containing the parentIds. |
getParentList() (deprecated)
public abstract List<Integer> getParentList()
Deprecated. google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=867
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 | |
---|---|
Type | Description |
List<Integer> |
A list containing the parent. |
getProcessor()
public abstract String getProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Returns | |
---|---|
Type | Description |
String |
The processor. |
getProcessorBytes()
public abstract ByteString getProcessorBytes()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for processor. |
getSourceCase()
public abstract Document.Revision.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
Document.Revision.SourceCase |
hasAgent()
public abstract boolean hasAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the agent field is set. |
hasCreateTime()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasHumanReview()
public abstract boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the humanReview field is set. |
hasProcessor()
public abstract boolean hasProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the processor field is set. |