public interface ProcessRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument()
Deprecated.
google.cloud.documentai.v1beta3.ProcessRequest.document is deprecated. See
google/cloud/documentai/v1beta3/document_processor_service.proto;l=416
|
DocumentOrBuilder |
getDocumentOrBuilder()
Deprecated.
|
com.google.protobuf.FieldMask |
getFieldMask()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output.
|
com.google.protobuf.FieldMaskOrBuilder |
getFieldMaskOrBuilder()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output.
|
GcsDocument |
getGcsDocument()
A raw document on Google Cloud Storage.
|
GcsDocumentOrBuilder |
getGcsDocumentOrBuilder()
A raw document on Google Cloud Storage.
|
Document |
getInlineDocument()
An inline document proto.
|
DocumentOrBuilder |
getInlineDocumentOrBuilder()
An inline document proto.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
ProcessOptions |
getProcessOptions()
Inference-time options for the process API
|
ProcessOptionsOrBuilder |
getProcessOptionsOrBuilder()
Inference-time options for the process API
|
RawDocument |
getRawDocument()
A raw document content (bytes).
|
RawDocumentOrBuilder |
getRawDocumentOrBuilder()
A raw document content (bytes).
|
boolean |
getSkipHumanReview()
Whether human review should be skipped for this request.
|
ProcessRequest.SourceCase |
getSourceCase() |
boolean |
hasDocument()
Deprecated.
google.cloud.documentai.v1beta3.ProcessRequest.document is deprecated. See
google/cloud/documentai/v1beta3/document_processor_service.proto;l=416
|
boolean |
hasFieldMask()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output.
|
boolean |
hasGcsDocument()
A raw document on Google Cloud Storage.
|
boolean |
hasInlineDocument()
An inline document proto.
|
boolean |
hasProcessOptions()
Inference-time options for the process API
|
boolean |
hasRawDocument()
A raw document content (bytes).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasInlineDocument()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;Document getInlineDocument()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;DocumentOrBuilder getInlineDocumentOrBuilder()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;boolean hasRawDocument()
A raw document content (bytes).
.google.cloud.documentai.v1beta3.RawDocument raw_document = 5;RawDocument getRawDocument()
A raw document content (bytes).
.google.cloud.documentai.v1beta3.RawDocument raw_document = 5;RawDocumentOrBuilder getRawDocumentOrBuilder()
A raw document content (bytes).
.google.cloud.documentai.v1beta3.RawDocument raw_document = 5;boolean hasGcsDocument()
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocument gcs_document = 8;GcsDocument getGcsDocument()
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocument gcs_document = 8;GcsDocumentOrBuilder getGcsDocumentOrBuilder()
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocument gcs_document = 8;String getName()
Required. The resource name of the
[Processor][google.cloud.documentai.v1beta3.Processor] or
[ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
to use for processing. If a
[Processor][google.cloud.documentai.v1beta3.Processor] is specified, the
server will use its [default
version][google.cloud.documentai.v1beta3.Processor.default_processor_version].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the
[Processor][google.cloud.documentai.v1beta3.Processor] or
[ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
to use for processing. If a
[Processor][google.cloud.documentai.v1beta3.Processor] is specified, the
server will use its [default
version][google.cloud.documentai.v1beta3.Processor.default_processor_version].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
@Deprecated boolean hasDocument()
The document payload, the [content][google.cloud.documentai.v1beta3.Document.content] and [mime_type][google.cloud.documentai.v1beta3.Document.mime_type] fields must be set.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];@Deprecated Document getDocument()
The document payload, the [content][google.cloud.documentai.v1beta3.Document.content] and [mime_type][google.cloud.documentai.v1beta3.Document.mime_type] fields must be set.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];@Deprecated DocumentOrBuilder getDocumentOrBuilder()
The document payload, the [content][google.cloud.documentai.v1beta3.Document.content] and [mime_type][google.cloud.documentai.v1beta3.Document.mime_type] fields must be set.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];boolean getSkipHumanReview()
Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 3;boolean hasFieldMask()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output. Only supports top-level document and pages field, so it must be in
the form of `{document_field_name}` or `pages.{page_field_name}`.
.google.protobuf.FieldMask field_mask = 6;com.google.protobuf.FieldMask getFieldMask()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output. Only supports top-level document and pages field, so it must be in
the form of `{document_field_name}` or `pages.{page_field_name}`.
.google.protobuf.FieldMask field_mask = 6;com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()
Specifies which fields to include in the
[ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document]
output. Only supports top-level document and pages field, so it must be in
the form of `{document_field_name}` or `pages.{page_field_name}`.
.google.protobuf.FieldMask field_mask = 6;boolean hasProcessOptions()
Inference-time options for the process API
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7;ProcessOptions getProcessOptions()
Inference-time options for the process API
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7;ProcessOptionsOrBuilder getProcessOptionsOrBuilder()
Inference-time options for the process API
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7;ProcessRequest.SourceCase getSourceCase()
Copyright © 2024 Google LLC. All rights reserved.