Interface Document.RevisionOrBuilder (2.50.0)

public static interface Document.RevisionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.