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.v1beta2.Document.Revision| Modifier and Type | Method and Description |
|---|---|
Document.Revision.Builder |
addAllParent(Iterable<? extends Integer> values)
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
Document.Revision.Builder |
addAllParentIds(Iterable<String> values)
The revisions that this revision is based on.
|
Document.Revision.Builder |
addParent(int value)
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
Document.Revision.Builder |
addParentIds(String value)
The revisions that this revision is based on.
|
Document.Revision.Builder |
addParentIdsBytes(com.google.protobuf.ByteString 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, internally generated by
doc proto storage at the time of create.
|
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, internally generated by doc proto storage.
|
Document.Revision.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Document.Revision.Builder |
clearParent()
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
Document.Revision.Builder |
clearParentIds()
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, internally generated by
doc proto storage at the time of create.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
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, internally generated by doc proto storage.
|
com.google.protobuf.ByteString |
getIdBytes()
Id of the revision, internally generated by doc proto storage.
|
int |
getParent(int index)
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
int |
getParentCount()
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
String |
getParentIds(int index)
The revisions that this revision is based on.
|
com.google.protobuf.ByteString |
getParentIdsBytes(int index)
The revisions that this revision is based on.
|
int |
getParentIdsCount()
The revisions that this revision is based on.
|
com.google.protobuf.ProtocolStringList |
getParentIdsList()
The revisions that this revision is based on.
|
List<Integer> |
getParentList()
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
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 |
hasAgent()
If the change was made by a person specify the name or id of that
person.
|
boolean |
hasCreateTime()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
boolean |
hasHumanReview()
Human Review information of this revision.
|
boolean |
hasProcessor()
If the annotation was made by processor identify the processor by its
resource name.
|
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, internally generated by
doc proto storage at the time of create.
|
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, internally generated by
doc proto storage at the time of create.
|
Document.Revision.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
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, internally generated by doc proto storage.
|
Document.Revision.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Id of the revision, internally generated by doc proto storage.
|
Document.Revision.Builder |
setParent(int index,
int value)
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
Document.Revision.Builder |
setParentIds(int index,
String 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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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 boolean hasAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;hasAgent in interface Document.RevisionOrBuilderpublic 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 boolean hasProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;hasProcessor in interface Document.RevisionOrBuilderpublic 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, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;getId in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Id of the revision, internally generated by doc proto storage. 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, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;value - The id to set.public Document.Revision.Builder clearId()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;public Document.Revision.Builder setIdBytes(com.google.protobuf.ByteString value)
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;value - The bytes for id to set.@Deprecated 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 [deprecated = true];getParentList in interface Document.RevisionOrBuilder@Deprecated public 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 [deprecated = true];getParentCount in interface Document.RevisionOrBuilder@Deprecated public 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 [deprecated = true];getParent in interface Document.RevisionOrBuilderindex - The index of the element to return.@Deprecated 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 [deprecated = true];index - The index to set the value at.value - The parent to set.@Deprecated 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 [deprecated = true];value - The parent to add.@Deprecated 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 [deprecated = true];values - The parent to add.@Deprecated 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 [deprecated = true];public com.google.protobuf.ProtocolStringList 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;getParentIdsList in interface Document.RevisionOrBuilderpublic 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;getParentIdsCount in interface Document.RevisionOrBuilderpublic 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;getParentIds in interface Document.RevisionOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getParentIdsBytes in interface Document.RevisionOrBuilderindex - The index of the value to return.public Document.Revision.Builder setParentIds(int index, String value)
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;index - The index to set the value at.value - The parentIds to set.public Document.Revision.Builder addParentIds(String value)
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;value - The parentIds to add.public Document.Revision.Builder addAllParentIds(Iterable<String> values)
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;values - The parentIds to add.public Document.Revision.Builder clearParentIds()
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;public Document.Revision.Builder addParentIdsBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the parentIds to add.public 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;hasCreateTime in interface Document.RevisionOrBuilderpublic com.google.protobuf.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;getCreateTime in interface Document.RevisionOrBuilderpublic Document.Revision.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;public Document.Revision.Builder clearCreateTime()
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.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;getCreateTimeOrBuilder in interface Document.RevisionOrBuilderpublic boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
hasHumanReview in interface Document.RevisionOrBuilderpublic Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.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.v1beta2.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.v1beta2.Document.Revision.HumanReview human_review = 6;
public Document.Revision.Builder mergeHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
public Document.Revision.Builder clearHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
public Document.Revision.HumanReview.Builder getHumanReviewBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
public Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.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 © 2023 Google LLC. All rights reserved.