- 2.59.0 (latest)
- 2.58.0
- 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 ProcessResponse.Builder extends GeneratedMessageV3.Builder<ProcessResponse.Builder> implements ProcessResponseOrBuilder
Response message for the process document method.
Protobuf type google.cloud.documentai.v1beta3.ProcessResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessResponse.BuilderImplements
ProcessResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
build()
public ProcessResponse build()
Returns | |
---|---|
Type | Description |
ProcessResponse |
buildPartial()
public ProcessResponse buildPartial()
Returns | |
---|---|
Type | Description |
ProcessResponse |
clear()
public ProcessResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
clearDocument()
public ProcessResponse.Builder clearDocument()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProcessResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
clearHumanReviewOperation() (deprecated)
public ProcessResponse.Builder clearHumanReviewOperation()
Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method.
string human_review_operation = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder | This builder for chaining. |
clearHumanReviewStatus()
public ProcessResponse.Builder clearHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
clone()
public ProcessResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
getDefaultInstanceForType()
public ProcessResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProcessResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDocument()
public Document getDocument()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Returns | |
---|---|
Type | Description |
Document | The document. |
getDocumentBuilder()
public Document.Builder getDocumentBuilder()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Returns | |
---|---|
Type | Description |
Document.Builder |
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Returns | |
---|---|
Type | Description |
DocumentOrBuilder |
getHumanReviewOperation() (deprecated)
public String getHumanReviewOperation()
Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method.
string human_review_operation = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
String | The humanReviewOperation. |
getHumanReviewOperationBytes() (deprecated)
public ByteString getHumanReviewOperationBytes()
Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method.
string human_review_operation = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for humanReviewOperation. |
getHumanReviewStatus()
public HumanReviewStatus getHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
HumanReviewStatus | The humanReviewStatus. |
getHumanReviewStatusBuilder()
public HumanReviewStatus.Builder getHumanReviewStatusBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
HumanReviewStatus.Builder |
getHumanReviewStatusOrBuilder()
public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
HumanReviewStatusOrBuilder |
hasDocument()
public boolean hasDocument()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the document field is set. |
hasHumanReviewStatus()
public boolean hasHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the humanReviewStatus field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDocument(Document value)
public ProcessResponse.Builder mergeDocument(Document value)
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Parameter | |
---|---|
Name | Description |
value | Document |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
mergeFrom(ProcessResponse other)
public ProcessResponse.Builder mergeFrom(ProcessResponse other)
Parameter | |
---|---|
Name | Description |
other | ProcessResponse |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProcessResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
mergeHumanReviewStatus(HumanReviewStatus value)
public ProcessResponse.Builder mergeHumanReviewStatus(HumanReviewStatus value)
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Parameter | |
---|---|
Name | Description |
value | HumanReviewStatus |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setDocument(Document value)
public ProcessResponse.Builder setDocument(Document value)
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Parameter | |
---|---|
Name | Description |
value | Document |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setDocument(Document.Builder builderForValue)
public ProcessResponse.Builder setDocument(Document.Builder builderForValue)
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Document.Builder |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setHumanReviewOperation(String value) (deprecated)
public ProcessResponse.Builder setHumanReviewOperation(String value)
Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method.
string human_review_operation = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | String The humanReviewOperation to set. |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder | This builder for chaining. |
setHumanReviewOperationBytes(ByteString value) (deprecated)
public ProcessResponse.Builder setHumanReviewOperationBytes(ByteString value)
Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method.
string human_review_operation = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for humanReviewOperation to set. |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder | This builder for chaining. |
setHumanReviewStatus(HumanReviewStatus value)
public ProcessResponse.Builder setHumanReviewStatus(HumanReviewStatus value)
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Parameter | |
---|---|
Name | Description |
value | HumanReviewStatus |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setHumanReviewStatus(HumanReviewStatus.Builder builderForValue)
public ProcessResponse.Builder setHumanReviewStatus(HumanReviewStatus.Builder builderForValue)
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | HumanReviewStatus.Builder |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProcessResponse.Builder |