public static final class Document.Revision.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder> implements Document.RevisionOrBuilder
Contains past or forward revisions of this document.Protobuf type
google.cloud.documentai.v1beta3.Document.Revision| Modifier and Type | Method and Description |
|---|---|
Document.Revision.Builder |
addAllParent(Iterable<? extends Integer> values)
The revisions that this revision is based on.
|
Document.Revision.Builder |
addParent(int value)
The revisions that this revision is based on.
|
Document.Revision.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Document.Revision |
build() |
Document.Revision |
buildPartial() |
Document.Revision.Builder |
clear() |
Document.Revision.Builder |
clearAgent()
If the change was made by a person specify the name or id of that
person.
|
Document.Revision.Builder |
clearCreateTime()
The time that the revision was created.
|
Document.Revision.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Document.Revision.Builder |
clearHumanReview()
Human Review information of this revision.
|
Document.Revision.Builder |
clearId()
Id of the revision.
|
Document.Revision.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Document.Revision.Builder |
clearParent()
The revisions that this revision is based on.
|
Document.Revision.Builder |
clearProcessor()
If the annotation was made by processor identify the processor by its
resource name.
|
Document.Revision.Builder |
clearSource() |
Document.Revision.Builder |
clone() |
String |
getAgent()
If the change was made by a person specify the name or id of that
person.
|
com.google.protobuf.ByteString |
getAgentBytes()
If the change was made by a person specify the name or id of that
person.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time that the revision was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The time that the revision was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time that the revision was created.
|
Document.Revision |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Document.Revision.HumanReview |
getHumanReview()
Human Review information of this revision.
|
Document.Revision.HumanReview.Builder |
getHumanReviewBuilder()
Human Review information of this revision.
|
Document.Revision.HumanReviewOrBuilder |
getHumanReviewOrBuilder()
Human Review information of this revision.
|
String |
getId()
Id of the revision.
|
com.google.protobuf.ByteString |
getIdBytes()
Id of the revision.
|
int |
getParent(int index)
The revisions that this revision is based on.
|
int |
getParentCount()
The revisions that this revision is based on.
|
List<Integer> |
getParentList()
The revisions that this revision is based on.
|
String |
getProcessor()
If the annotation was made by processor identify the processor by its
resource name.
|
com.google.protobuf.ByteString |
getProcessorBytes()
If the annotation was made by processor identify the processor by its
resource name.
|
Document.Revision.SourceCase |
getSourceCase() |
boolean |
hasCreateTime()
The time that the revision was created.
|
boolean |
hasHumanReview()
Human Review information of this revision.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Document.Revision.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created.
|
Document.Revision.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Document.Revision.Builder |
mergeFrom(Document.Revision other) |
Document.Revision.Builder |
mergeFrom(com.google.protobuf.Message other) |
Document.Revision.Builder |
mergeHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
|
Document.Revision.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Document.Revision.Builder |
setAgent(String value)
If the change was made by a person specify the name or id of that
person.
|
Document.Revision.Builder |
setAgentBytes(com.google.protobuf.ByteString value)
If the change was made by a person specify the name or id of that
person.
|
Document.Revision.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the revision was created.
|
Document.Revision.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created.
|
Document.Revision.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Document.Revision.Builder |
setHumanReview(Document.Revision.HumanReview.Builder builderForValue)
Human Review information of this revision.
|
Document.Revision.Builder |
setHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
|
Document.Revision.Builder |
setId(String value)
Id of the revision.
|
Document.Revision.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Id of the revision.
|
Document.Revision.Builder |
setParent(int index,
int value)
The revisions that this revision is based on.
|
Document.Revision.Builder |
setProcessor(String value)
If the annotation was made by processor identify the processor by its
resource name.
|
Document.Revision.Builder |
setProcessorBytes(com.google.protobuf.ByteString value)
If the annotation was made by processor identify the processor by its
resource name.
|
Document.Revision.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Document.Revision.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Document.Revision build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Document.Revision buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Document.Revision.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>public Document.Revision.Builder mergeFrom(Document.Revision other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public Document.Revision.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>IOExceptionpublic Document.Revision.SourceCase getSourceCase()
getSourceCase in interface Document.RevisionOrBuilderpublic Document.Revision.Builder clearSource()
public String getAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;getAgent in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getAgentBytes()
If the change was made by a person specify the name or id of that person.
string agent = 4;getAgentBytes in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setAgent(String value)
If the change was made by a person specify the name or id of that person.
string agent = 4;value - The agent to set.public Document.Revision.Builder clearAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;public Document.Revision.Builder setAgentBytes(com.google.protobuf.ByteString value)
If the change was made by a person specify the name or id of that person.
string agent = 4;value - The bytes for agent to set.public String getProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;getProcessor in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getProcessorBytes()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;getProcessorBytes in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setProcessor(String value)
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;value - The processor to set.public Document.Revision.Builder clearProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;public Document.Revision.Builder setProcessorBytes(com.google.protobuf.ByteString value)
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;value - The bytes for processor to set.public String getId()
Id of the revision. Unique within the context of the document.
string id = 1;getId in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Id of the revision. Unique within the context of the document.
string id = 1;getIdBytes in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setId(String value)
Id of the revision. Unique within the context of the document.
string id = 1;value - The id to set.public Document.Revision.Builder clearId()
Id of the revision. Unique within the context of the document.
string id = 1;public Document.Revision.Builder setIdBytes(com.google.protobuf.ByteString value)
Id of the revision. Unique within the context of the document.
string id = 1;value - The bytes for id to set.public 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;getParentList in interface Document.RevisionOrBuilderpublic 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;getParentCount in interface Document.RevisionOrBuilderpublic 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;getParent in interface Document.RevisionOrBuilderindex - The index of the element to return.public Document.Revision.Builder setParent(int index, int value)
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;index - The index to set the value at.value - The parent to set.public Document.Revision.Builder addParent(int value)
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;value - The parent to add.public Document.Revision.Builder addAllParent(Iterable<? extends Integer> values)
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;values - The parent to add.public Document.Revision.Builder clearParent()
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;public boolean hasCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface Document.RevisionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder clearCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface Document.RevisionOrBuilderpublic boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
hasHumanReview in interface Document.RevisionOrBuilderpublic Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
getHumanReview in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
public Document.Revision.Builder setHumanReview(Document.Revision.HumanReview.Builder builderForValue)
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
public Document.Revision.Builder mergeHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
public Document.Revision.Builder clearHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
public Document.Revision.HumanReview.Builder getHumanReviewBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
public Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
getHumanReviewOrBuilder in interface Document.RevisionOrBuilderpublic final Document.Revision.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>public final Document.Revision.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>Copyright © 2020 Google LLC. All rights reserved.