Interface Document.RevisionOrBuilder (2.6.2)

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.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time that the revision was created.

.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.v1.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.v1.Document.Revision.HumanReview human_review = 6;

Returns
Type Description
Document.Revision.HumanReviewOrBuilder

getId()

public abstract String getId()

Id of the revision. 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. Unique within the context of the document.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getParent(int index)

public abstract int getParent(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The parent at the given index.

getParentCount()

public abstract int getParentCount()

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;

Returns
Type Description
int

The count of parent.

getParentList()

public abstract List<Integer> getParentList()

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;

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.

.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.v1.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.