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.v1beta2.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.v1beta2.Document.Revision
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Document.Revision.Builder
addAllParent(Iterable<? extends Integer> values)
Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated.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.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.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.int
getParentCount()
Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated.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.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(Document.Revision other)
Document.Revision.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
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.Builder builderForValue)
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 value)
Human Review information of this revision.Document.Revision.Builder
setHumanReview(Document.Revision.HumanReview.Builder builderForValue)
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.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)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clear
public Document.Revision.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
getDefaultInstanceForType
public Document.Revision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Document.Revision build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Document.Revision buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Document.Revision.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
setField
public Document.Revision.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clearField
public Document.Revision.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
clearOneof
public Document.Revision.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
addRepeatedField
public Document.Revision.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
mergeFrom
public Document.Revision.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>
-
mergeFrom
public Document.Revision.Builder mergeFrom(Document.Revision other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Document.Revision.Builder>
- Throws:
IOException
-
getSourceCase
public Document.Revision.SourceCase getSourceCase()
- Specified by:
getSourceCase
in 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:
hasAgent
in 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:
getAgent
in 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:
getAgentBytes
in 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:
hasProcessor
in 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:
getProcessor
in 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:
getProcessorBytes
in 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:
getId
in 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:
getIdBytes
in 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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:
getParentList
in interfaceDocument.RevisionOrBuilder
- Returns:
- A list containing the parent.
-
getParentCount
@Deprecated public int getParentCount()
Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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:
getParentCount
in interfaceDocument.RevisionOrBuilder
- Returns:
- The count of parent.
-
getParent
@Deprecated public int getParent(int index)
Deprecated.google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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:
getParent
in 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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.v1beta2.Document.Revision.parent is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=892The 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:
getParentIdsList
in 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:
getParentIdsCount
in 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:
getParentIds
in 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:
getParentIdsBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceDocument.RevisionOrBuilder
-
hasHumanReview
public boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
- Specified by:
hasHumanReview
in interfaceDocument.RevisionOrBuilder
- Returns:
- Whether the humanReview field is set.
-
getHumanReview
public Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
- Specified by:
getHumanReview
in interfaceDocument.RevisionOrBuilder
- Returns:
- The humanReview.
-
setHumanReview
public Document.Revision.Builder setHumanReview(Document.Revision.HumanReview value)
Human Review information of this revision.
.google.cloud.documentai.v1beta2.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.v1beta2.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.v1beta2.Document.Revision.HumanReview human_review = 6;
-
clearHumanReview
public Document.Revision.Builder clearHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
-
getHumanReviewBuilder
public Document.Revision.HumanReview.Builder getHumanReviewBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
-
getHumanReviewOrBuilder
public Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;
- Specified by:
getHumanReviewOrBuilder
in interfaceDocument.RevisionOrBuilder
-
setUnknownFields
public final Document.Revision.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
mergeUnknownFields
public final Document.Revision.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Document.Revision.Builder>
-
-