public interface ProcessRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
Document |
getDocument()
Deprecated.
google.cloud.documentai.v1beta3.ProcessRequest.document is deprecated. See
google/cloud/documentai/v1beta3/document_processor_service.proto;l=451
|
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.
|
boolean |
getImagelessMode()
Optional.
|
Document |
getInlineDocument()
An inline document proto.
|
DocumentOrBuilder |
getInlineDocumentOrBuilder()
An inline document proto.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
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; |
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=451
|
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
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7; |
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;int getLabelsCount()
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];boolean containsLabels(String key)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];boolean getImagelessMode()
Optional. Option to remove images from the document.
bool imageless_mode = 11 [(.google.api.field_behavior) = OPTIONAL];ProcessRequest.SourceCase getSourceCase()
Copyright © 2024 Google LLC. All rights reserved.