Class Document.Revision.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
- com.google.cloud.documentai.v1beta3.Document.Revision.Builder
-
- All Implemented Interfaces:
Document.RevisionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Document.Revision
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 typegoogle.cloud.documentai.v1beta3.Document.Revision
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Document.Revision.BuilderaddAllParent(Iterable<? extends Integer> values)Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.Document.Revision.BuilderaddAllParentIds(Iterable<String> values)The revisions that this revision is based on.Document.Revision.BuilderaddParent(int value)Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.Document.Revision.BuilderaddParentIds(String value)The revisions that this revision is based on.Document.Revision.BuilderaddParentIdsBytes(com.google.protobuf.ByteString value)The revisions that this revision is based on.Document.Revision.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Document.Revisionbuild()Document.RevisionbuildPartial()Document.Revision.Builderclear()Document.Revision.BuilderclearAgent()If the change was made by a person specify the name or id of that person.Document.Revision.BuilderclearCreateTime()The time that the revision was created, internally generated by doc proto storage at the time of create.Document.Revision.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Document.Revision.BuilderclearHumanReview()Human Review information of this revision.Document.Revision.BuilderclearId()Id of the revision, internally generated by doc proto storage.Document.Revision.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Document.Revision.BuilderclearParent()Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.Document.Revision.BuilderclearParentIds()The revisions that this revision is based on.Document.Revision.BuilderclearProcessor()If the annotation was made by processor identify the processor by its resource name.Document.Revision.BuilderclearSource()Document.Revision.Builderclone()StringgetAgent()If the change was made by a person specify the name or id of that person.com.google.protobuf.ByteStringgetAgentBytes()If the change was made by a person specify the name or id of that person.com.google.protobuf.TimestampgetCreateTime()The time that the revision was created, internally generated by doc proto storage at the time of create.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()The time that the revision was created, internally generated by doc proto storage at the time of create.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time that the revision was created, internally generated by doc proto storage at the time of create.Document.RevisiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Document.Revision.HumanReviewgetHumanReview()Human Review information of this revision.Document.Revision.HumanReview.BuildergetHumanReviewBuilder()Human Review information of this revision.Document.Revision.HumanReviewOrBuildergetHumanReviewOrBuilder()Human Review information of this revision.StringgetId()Id of the revision, internally generated by doc proto storage.com.google.protobuf.ByteStringgetIdBytes()Id of the revision, internally generated by doc proto storage.intgetParent(int index)Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.intgetParentCount()Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.StringgetParentIds(int index)The revisions that this revision is based on.com.google.protobuf.ByteStringgetParentIdsBytes(int index)The revisions that this revision is based on.intgetParentIdsCount()The revisions that this revision is based on.com.google.protobuf.ProtocolStringListgetParentIdsList()The revisions that this revision is based on.List<Integer>getParentList()Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.StringgetProcessor()If the annotation was made by processor identify the processor by its resource name.com.google.protobuf.ByteStringgetProcessorBytes()If the annotation was made by processor identify the processor by its resource name.Document.Revision.SourceCasegetSourceCase()booleanhasAgent()If the change was made by a person specify the name or id of that person.booleanhasCreateTime()The time that the revision was created, internally generated by doc proto storage at the time of create.booleanhasHumanReview()Human Review information of this revision.booleanhasProcessor()If the annotation was made by processor identify the processor by its resource name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Document.Revision.BuildermergeCreateTime(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.BuildermergeFrom(Document.Revision other)Document.Revision.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Document.Revision.BuildermergeFrom(com.google.protobuf.Message other)Document.Revision.BuildermergeHumanReview(Document.Revision.HumanReview value)Human Review information of this revision.Document.Revision.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Document.Revision.BuildersetAgent(String value)If the change was made by a person specify the name or id of that person.Document.Revision.BuildersetAgentBytes(com.google.protobuf.ByteString value)If the change was made by a person specify the name or id of that person.Document.Revision.BuildersetCreateTime(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.BuildersetCreateTime(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Document.Revision.BuildersetHumanReview(Document.Revision.HumanReview value)Human Review information of this revision.Document.Revision.BuildersetHumanReview(Document.Revision.HumanReview.Builder builderForValue)Human Review information of this revision.Document.Revision.BuildersetId(String value)Id of the revision, internally generated by doc proto storage.Document.Revision.BuildersetIdBytes(com.google.protobuf.ByteString value)Id of the revision, internally generated by doc proto storage.Document.Revision.BuildersetParent(int index, int value)Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated.Document.Revision.BuildersetParentIds(int index, String value)The revisions that this revision is based on.Document.Revision.BuildersetProcessor(String value)If the annotation was made by processor identify the processor by its resource name.Document.Revision.BuildersetProcessorBytes(com.google.protobuf.ByteString value)If the annotation was made by processor identify the processor by its resource name.Document.Revision.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Document.Revision.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clear
public Document.Revision.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
getDefaultInstanceForType
public Document.Revision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Document.Revision build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Document.Revision buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Document.Revision.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
setField
public Document.Revision.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clearField
public Document.Revision.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clearOneof
public Document.Revision.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
setRepeatedField
public Document.Revision.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
addRepeatedField
public Document.Revision.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
mergeFrom
public Document.Revision.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>
-
mergeFrom
public Document.Revision.Builder mergeFrom(Document.Revision other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
mergeFrom
public Document.Revision.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>- Throws:
IOException
-
getSourceCase
public Document.Revision.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceDocument.RevisionOrBuilder
-
clearSource
public Document.Revision.Builder clearSource()
-
hasAgent
public boolean hasAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;- Specified by:
hasAgentin interfaceDocument.RevisionOrBuilder- Returns:
- Whether the agent field is set.
-
getAgent
public String getAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;- Specified by:
getAgentin interfaceDocument.RevisionOrBuilder- Returns:
- The agent.
-
getAgentBytes
public com.google.protobuf.ByteString getAgentBytes()
If the change was made by a person specify the name or id of that person.
string agent = 4;- Specified by:
getAgentBytesin interfaceDocument.RevisionOrBuilder- Returns:
- The bytes for agent.
-
setAgent
public 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;- Parameters:
value- The agent to set.- Returns:
- This builder for chaining.
-
clearAgent
public Document.Revision.Builder clearAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;- Returns:
- This builder for chaining.
-
setAgentBytes
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;- Parameters:
value- The bytes for agent to set.- Returns:
- This builder for chaining.
-
hasProcessor
public boolean hasProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;- Specified by:
hasProcessorin interfaceDocument.RevisionOrBuilder- Returns:
- Whether the processor field is set.
-
getProcessor
public String getProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;- Specified by:
getProcessorin interfaceDocument.RevisionOrBuilder- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;- Specified by:
getProcessorBytesin interfaceDocument.RevisionOrBuilder- Returns:
- The bytes for processor.
-
setProcessor
public Document.Revision.Builder setProcessor(String value)
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;- Parameters:
value- The processor to set.- Returns:
- This builder for chaining.
-
clearProcessor
public Document.Revision.Builder clearProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;- Returns:
- This builder for chaining.
-
setProcessorBytes
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;- Parameters:
value- The bytes for processor to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;- Specified by:
getIdin interfaceDocument.RevisionOrBuilder- Returns:
- The id.
-
getIdBytes
public 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;- Specified by:
getIdBytesin interfaceDocument.RevisionOrBuilder- Returns:
- The bytes for id.
-
setId
public 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;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
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;- Returns:
- This builder for chaining.
-
setIdBytes
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;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getParentList
@Deprecated public List<Integer> getParentList()
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Specified by:
getParentListin interfaceDocument.RevisionOrBuilder- Returns:
- A list containing the parent.
-
getParentCount
@Deprecated public int getParentCount()
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Specified by:
getParentCountin interfaceDocument.RevisionOrBuilder- Returns:
- The count of parent.
-
getParent
@Deprecated public int getParent(int index)
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Specified by:
getParentin interfaceDocument.RevisionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parent at the given index.
-
setParent
@Deprecated public Document.Revision.Builder setParent(int index, int value)
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Parameters:
index- The index to set the value at.value- The parent to set.- Returns:
- This builder for chaining.
-
addParent
@Deprecated public Document.Revision.Builder addParent(int value)
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Parameters:
value- The parent to add.- Returns:
- This builder for chaining.
-
addAllParent
@Deprecated public Document.Revision.Builder addAllParent(Iterable<? extends Integer> values)
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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];- Parameters:
values- The parent to add.- Returns:
- This builder for chaining.
-
clearParent
@Deprecated public Document.Revision.Builder clearParent()
Deprecated.google.cloud.documentai.v1beta3.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=866The 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:
- This builder for chaining.
-
getParentIdsList
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;- Specified by:
getParentIdsListin interfaceDocument.RevisionOrBuilder- Returns:
- A list containing the parentIds.
-
getParentIdsCount
public 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;- Specified by:
getParentIdsCountin interfaceDocument.RevisionOrBuilder- Returns:
- The count of parentIds.
-
getParentIds
public 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;- Specified by:
getParentIdsin interfaceDocument.RevisionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parentIds at the given index.
-
getParentIdsBytes
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;- Specified by:
getParentIdsBytesin interfaceDocument.RevisionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parentIds at the given index.
-
setParentIds
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;- Parameters:
index- The index to set the value at.value- The parentIds to set.- Returns:
- This builder for chaining.
-
addParentIds
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;- Parameters:
value- The parentIds to add.- Returns:
- This builder for chaining.
-
addAllParentIds
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;- Parameters:
values- The parentIds to add.- Returns:
- This builder for chaining.
-
clearParentIds
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;- Returns:
- This builder for chaining.
-
addParentIdsBytes
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;- Parameters:
value- The bytes of the parentIds to add.- Returns:
- This builder for chaining.
-
hasCreateTime
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;- Specified by:
hasCreateTimein interfaceDocument.RevisionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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;- Specified by:
getCreateTimein interfaceDocument.RevisionOrBuilder- Returns:
- The createTime.
-
setCreateTime
public 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;
-
setCreateTime
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;
-
mergeCreateTime
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;
-
clearCreateTime
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;
-
getCreateTimeBuilder
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;
-
getCreateTimeOrBuilder
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;- Specified by:
getCreateTimeOrBuilderin interfaceDocument.RevisionOrBuilder
-
hasHumanReview
public boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;- Specified by:
hasHumanReviewin interfaceDocument.RevisionOrBuilder- Returns:
- Whether the humanReview field is set.
-
getHumanReview
public Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;- Specified by:
getHumanReviewin interfaceDocument.RevisionOrBuilder- Returns:
- The humanReview.
-
setHumanReview
public Document.Revision.Builder setHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
-
setHumanReview
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;
-
mergeHumanReview
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;
-
clearHumanReview
public Document.Revision.Builder clearHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
-
getHumanReviewBuilder
public Document.Revision.HumanReview.Builder getHumanReviewBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
-
getHumanReviewOrBuilder
public Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;- Specified by:
getHumanReviewOrBuilderin interfaceDocument.RevisionOrBuilder
-
setUnknownFields
public final Document.Revision.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
mergeUnknownFields
public final Document.Revision.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
-