- 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 ProcessDocumentRequest.Builder extends GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder> implements ProcessDocumentRequestOrBuilder
Request to process one document.
Protobuf type google.cloud.documentai.v1beta1.ProcessDocumentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessDocumentRequest.BuilderImplements
ProcessDocumentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessDocumentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProcessDocumentRequest.Builder |
build()
public ProcessDocumentRequest build()
Type | Description |
ProcessDocumentRequest |
buildPartial()
public ProcessDocumentRequest buildPartial()
Type | Description |
ProcessDocumentRequest |
clear()
public ProcessDocumentRequest.Builder clear()
Type | Description |
ProcessDocumentRequest.Builder |
clearDocumentType()
public ProcessDocumentRequest.Builder clearDocumentType()
Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
string document_type = 3;
Type | Description |
ProcessDocumentRequest.Builder | This builder for chaining. |
clearEntityExtractionParams()
public ProcessDocumentRequest.Builder clearEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Type | Description |
ProcessDocumentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProcessDocumentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProcessDocumentRequest.Builder |
clearFormExtractionParams()
public ProcessDocumentRequest.Builder clearFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Type | Description |
ProcessDocumentRequest.Builder |
clearInputConfig()
public ProcessDocumentRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProcessDocumentRequest.Builder |
clearOcrParams()
public ProcessDocumentRequest.Builder clearOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Type | Description |
ProcessDocumentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessDocumentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ProcessDocumentRequest.Builder |
clearOutputConfig()
public ProcessDocumentRequest.Builder clearOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProcessDocumentRequest.Builder |
clearTableExtractionParams()
public ProcessDocumentRequest.Builder clearTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Type | Description |
ProcessDocumentRequest.Builder |
clone()
public ProcessDocumentRequest.Builder clone()
Type | Description |
ProcessDocumentRequest.Builder |
getDefaultInstanceForType()
public ProcessDocumentRequest getDefaultInstanceForType()
Type | Description |
ProcessDocumentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDocumentType()
public String getDocumentType()
Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
string document_type = 3;
Type | Description |
String | The documentType. |
getDocumentTypeBytes()
public ByteString getDocumentTypeBytes()
Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
string document_type = 3;
Type | Description |
ByteString | The bytes for documentType. |
getEntityExtractionParams()
public EntityExtractionParams getEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Type | Description |
EntityExtractionParams | The entityExtractionParams. |
getEntityExtractionParamsBuilder()
public EntityExtractionParams.Builder getEntityExtractionParamsBuilder()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Type | Description |
EntityExtractionParams.Builder |
getEntityExtractionParamsOrBuilder()
public EntityExtractionParamsOrBuilder getEntityExtractionParamsOrBuilder()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Type | Description |
EntityExtractionParamsOrBuilder |
getFormExtractionParams()
public FormExtractionParams getFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Type | Description |
FormExtractionParams | The formExtractionParams. |
getFormExtractionParamsBuilder()
public FormExtractionParams.Builder getFormExtractionParamsBuilder()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Type | Description |
FormExtractionParams.Builder |
getFormExtractionParamsOrBuilder()
public FormExtractionParamsOrBuilder getFormExtractionParamsOrBuilder()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Type | Description |
FormExtractionParamsOrBuilder |
getInputConfig()
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InputConfig | The inputConfig. |
getInputConfigBuilder()
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InputConfig.Builder |
getInputConfigOrBuilder()
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InputConfigOrBuilder |
getOcrParams()
public OcrParams getOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Type | Description |
OcrParams | The ocrParams. |
getOcrParamsBuilder()
public OcrParams.Builder getOcrParamsBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Type | Description |
OcrParams.Builder |
getOcrParamsOrBuilder()
public OcrParamsOrBuilder getOcrParamsOrBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Type | Description |
OcrParamsOrBuilder |
getOutputConfig()
public OutputConfig getOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OutputConfig | The outputConfig. |
getOutputConfigBuilder()
public OutputConfig.Builder getOutputConfigBuilder()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OutputConfig.Builder |
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OutputConfigOrBuilder |
getTableExtractionParams()
public TableExtractionParams getTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Type | Description |
TableExtractionParams | The tableExtractionParams. |
getTableExtractionParamsBuilder()
public TableExtractionParams.Builder getTableExtractionParamsBuilder()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Type | Description |
TableExtractionParams.Builder |
getTableExtractionParamsOrBuilder()
public TableExtractionParamsOrBuilder getTableExtractionParamsOrBuilder()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Type | Description |
TableExtractionParamsOrBuilder |
hasEntityExtractionParams()
public boolean hasEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Type | Description |
boolean | Whether the entityExtractionParams field is set. |
hasFormExtractionParams()
public boolean hasFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Type | Description |
boolean | Whether the formExtractionParams field is set. |
hasInputConfig()
public boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the inputConfig field is set. |
hasOcrParams()
public boolean hasOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Type | Description |
boolean | Whether the ocrParams field is set. |
hasOutputConfig()
public boolean hasOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the outputConfig field is set. |
hasTableExtractionParams()
public boolean hasTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Type | Description |
boolean | Whether the tableExtractionParams field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEntityExtractionParams(EntityExtractionParams value)
public ProcessDocumentRequest.Builder mergeEntityExtractionParams(EntityExtractionParams value)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Name | Description |
value | EntityExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
mergeFormExtractionParams(FormExtractionParams value)
public ProcessDocumentRequest.Builder mergeFormExtractionParams(FormExtractionParams value)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Name | Description |
value | FormExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
mergeFrom(ProcessDocumentRequest other)
public ProcessDocumentRequest.Builder mergeFrom(ProcessDocumentRequest other)
Name | Description |
other | ProcessDocumentRequest |
Type | Description |
ProcessDocumentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessDocumentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProcessDocumentRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProcessDocumentRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ProcessDocumentRequest.Builder |
mergeInputConfig(InputConfig value)
public ProcessDocumentRequest.Builder mergeInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | InputConfig |
Type | Description |
ProcessDocumentRequest.Builder |
mergeOcrParams(OcrParams value)
public ProcessDocumentRequest.Builder mergeOcrParams(OcrParams value)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Name | Description |
value | OcrParams |
Type | Description |
ProcessDocumentRequest.Builder |
mergeOutputConfig(OutputConfig value)
public ProcessDocumentRequest.Builder mergeOutputConfig(OutputConfig value)
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | OutputConfig |
Type | Description |
ProcessDocumentRequest.Builder |
mergeTableExtractionParams(TableExtractionParams value)
public ProcessDocumentRequest.Builder mergeTableExtractionParams(TableExtractionParams value)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Name | Description |
value | TableExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessDocumentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProcessDocumentRequest.Builder |
setDocumentType(String value)
public ProcessDocumentRequest.Builder setDocumentType(String value)
Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
string document_type = 3;
Name | Description |
value | String The documentType to set. |
Type | Description |
ProcessDocumentRequest.Builder | This builder for chaining. |
setDocumentTypeBytes(ByteString value)
public ProcessDocumentRequest.Builder setDocumentTypeBytes(ByteString value)
Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
string document_type = 3;
Name | Description |
value | ByteString The bytes for documentType to set. |
Type | Description |
ProcessDocumentRequest.Builder | This builder for chaining. |
setEntityExtractionParams(EntityExtractionParams value)
public ProcessDocumentRequest.Builder setEntityExtractionParams(EntityExtractionParams value)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Name | Description |
value | EntityExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
setEntityExtractionParams(EntityExtractionParams.Builder builderForValue)
public ProcessDocumentRequest.Builder setEntityExtractionParams(EntityExtractionParams.Builder builderForValue)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
Name | Description |
builderForValue | EntityExtractionParams.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessDocumentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProcessDocumentRequest.Builder |
setFormExtractionParams(FormExtractionParams value)
public ProcessDocumentRequest.Builder setFormExtractionParams(FormExtractionParams value)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Name | Description |
value | FormExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
setFormExtractionParams(FormExtractionParams.Builder builderForValue)
public ProcessDocumentRequest.Builder setFormExtractionParams(FormExtractionParams.Builder builderForValue)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
Name | Description |
builderForValue | FormExtractionParams.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setInputConfig(InputConfig value)
public ProcessDocumentRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | InputConfig |
Type | Description |
ProcessDocumentRequest.Builder |
setInputConfig(InputConfig.Builder builderForValue)
public ProcessDocumentRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | InputConfig.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setOcrParams(OcrParams value)
public ProcessDocumentRequest.Builder setOcrParams(OcrParams value)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Name | Description |
value | OcrParams |
Type | Description |
ProcessDocumentRequest.Builder |
setOcrParams(OcrParams.Builder builderForValue)
public ProcessDocumentRequest.Builder setOcrParams(OcrParams.Builder builderForValue)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
Name | Description |
builderForValue | OcrParams.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setOutputConfig(OutputConfig value)
public ProcessDocumentRequest.Builder setOutputConfig(OutputConfig value)
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | OutputConfig |
Type | Description |
ProcessDocumentRequest.Builder |
setOutputConfig(OutputConfig.Builder builderForValue)
public ProcessDocumentRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | OutputConfig.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessDocumentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ProcessDocumentRequest.Builder |
setTableExtractionParams(TableExtractionParams value)
public ProcessDocumentRequest.Builder setTableExtractionParams(TableExtractionParams value)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Name | Description |
value | TableExtractionParams |
Type | Description |
ProcessDocumentRequest.Builder |
setTableExtractionParams(TableExtractionParams.Builder builderForValue)
public ProcessDocumentRequest.Builder setTableExtractionParams(TableExtractionParams.Builder builderForValue)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
Name | Description |
builderForValue | TableExtractionParams.Builder |
Type | Description |
ProcessDocumentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessDocumentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProcessDocumentRequest.Builder |