Interface Document.RevisionOrBuilder (2.2.1)

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
TypeDescription
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
TypeDescription
ByteString

The bytes for agent.

getCreateTime()

public abstract Timestamp getCreateTime()

The time that the revision was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time that the revision was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Document.Revision.HumanReviewOrBuilder

getId()

public abstract String getId()

Id of the revision. Unique within the context of the document.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Id of the revision. Unique within the context of the document.

string id = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for processor.

getSourceCase()

public abstract Document.Revision.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the processor field is set.