- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Document.Revision.Builder extends GeneratedMessageV3.Builder<Document.Revision.Builder> implements Document.RevisionOrBuilder
Contains past or forward revisions of this document.
Protobuf type google.cloud.documentai.v1beta3.Document.Revision
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.Revision.BuilderImplements
Document.RevisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllParent(Iterable<? extends Integer> values)
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;
Name | Description |
values | Iterable<? extends java.lang.Integer> The parent to add. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
addParent(int value)
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;
Name | Description |
value | int The parent to add. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Revision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Revision.Builder |
build()
public Document.Revision build()
Type | Description |
Document.Revision |
buildPartial()
public Document.Revision buildPartial()
Type | Description |
Document.Revision |
clear()
public Document.Revision.Builder clear()
Type | Description |
Document.Revision.Builder |
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;
Type | Description |
Document.Revision.Builder | This builder for chaining. |
clearCreateTime()
public Document.Revision.Builder clearCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
Document.Revision.Builder |
clearField(Descriptors.FieldDescriptor field)
public Document.Revision.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Document.Revision.Builder |
clearHumanReview()
public Document.Revision.Builder clearHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Type | Description |
Document.Revision.Builder |
clearId()
public Document.Revision.Builder clearId()
Id of the revision. Unique within the context of the document.
string id = 1;
Type | Description |
Document.Revision.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Revision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Document.Revision.Builder |
clearParent()
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;
Type | Description |
Document.Revision.Builder | 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;
Type | Description |
Document.Revision.Builder | This builder for chaining. |
clearSource()
public Document.Revision.Builder clearSource()
Type | Description |
Document.Revision.Builder |
clone()
public Document.Revision.Builder clone()
Type | Description |
Document.Revision.Builder |
getAgent()
public String getAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Type | Description |
String | The agent. |
getAgentBytes()
public ByteString getAgentBytes()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Type | Description |
ByteString | The bytes for agent. |
getCreateTime()
public Timestamp getCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Document.Revision getDefaultInstanceForType()
Type | Description |
Document.Revision |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHumanReview()
public Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Type | Description |
Document.Revision.HumanReview | The humanReview. |
getHumanReviewBuilder()
public Document.Revision.HumanReview.Builder getHumanReviewBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Type | Description |
Document.Revision.HumanReview.Builder |
getHumanReviewOrBuilder()
public Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Type | Description |
Document.Revision.HumanReviewOrBuilder |
getId()
public String getId()
Id of the revision. Unique within the context of the document.
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Id of the revision. Unique within the context of the document.
string id = 1;
Type | Description |
ByteString | The bytes for id. |
getParent(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
int | The parent at the given index. |
getParentCount()
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;
Type | Description |
int | The count of parent. |
getParentList()
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;
Type | Description |
List<Integer> | A list containing the parent. |
getProcessor()
public String getProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Type | Description |
String | The processor. |
getProcessorBytes()
public ByteString getProcessorBytes()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Type | Description |
ByteString | The bytes for processor. |
getSourceCase()
public Document.Revision.SourceCase getSourceCase()
Type | Description |
Document.Revision.SourceCase |
hasAgent()
public boolean hasAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;
Type | Description |
boolean | Whether the agent field is set. |
hasCreateTime()
public boolean hasCreateTime()
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
boolean | Whether the createTime field is set. |
hasHumanReview()
public boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta3.Document.Revision.HumanReview human_review = 6;
Type | Description |
boolean | Whether the humanReview field is set. |
hasProcessor()
public boolean hasProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Type | Description |
boolean | Whether the processor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Document.Revision.Builder mergeCreateTime(Timestamp value)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
Document.Revision.Builder |
mergeFrom(Document.Revision other)
public Document.Revision.Builder mergeFrom(Document.Revision other)
Name | Description |
other | Document.Revision |
Type | Description |
Document.Revision.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Revision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Document.Revision.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Document.Revision.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Document.Revision.Builder |
mergeHumanReview(Document.Revision.HumanReview value)
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;
Name | Description |
value | Document.Revision.HumanReview |
Type | Description |
Document.Revision.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Revision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Revision.Builder |
setAgent(String value)
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;
Name | Description |
value | String The agent to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setAgentBytes(ByteString value)
public Document.Revision.Builder setAgentBytes(ByteString value)
If the change was made by a person specify the name or id of that person.
string agent = 4;
Name | Description |
value | ByteString The bytes for agent to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public Document.Revision.Builder setCreateTime(Timestamp value)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
Document.Revision.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Document.Revision.Builder setCreateTime(Timestamp.Builder builderForValue)
The time that the revision was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
builderForValue | Builder |
Type | Description |
Document.Revision.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Revision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Revision.Builder |
setHumanReview(Document.Revision.HumanReview value)
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;
Name | Description |
value | Document.Revision.HumanReview |
Type | Description |
Document.Revision.Builder |
setHumanReview(Document.Revision.HumanReview.Builder builderForValue)
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;
Name | Description |
builderForValue | Document.Revision.HumanReview.Builder |
Type | Description |
Document.Revision.Builder |
setId(String value)
public Document.Revision.Builder setId(String value)
Id of the revision. Unique within the context of the document.
string id = 1;
Name | Description |
value | String The id to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Document.Revision.Builder setIdBytes(ByteString value)
Id of the revision. Unique within the context of the document.
string id = 1;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setParent(int index, int value)
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;
Name | Description |
index | int The index to set the value at. |
value | int The parent to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setProcessor(String value)
public Document.Revision.Builder setProcessor(String value)
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Name | Description |
value | String The processor to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setProcessorBytes(ByteString value)
public Document.Revision.Builder setProcessorBytes(ByteString value)
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;
Name | Description |
value | ByteString The bytes for processor to set. |
Type | Description |
Document.Revision.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Revision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Document.Revision.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Revision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Revision.Builder |