Class ProcessDocumentRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
- com.google.cloud.documentai.v1beta2.ProcessDocumentRequest.Builder
-
- All Implemented Interfaces:
ProcessDocumentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProcessDocumentRequest
public static final class ProcessDocumentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder> implements ProcessDocumentRequestOrBuilder
Request to process one document.
Protobuf typegoogle.cloud.documentai.v1beta2.ProcessDocumentRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
clear
public ProcessDocumentRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
getDefaultInstanceForType
public ProcessDocumentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProcessDocumentRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProcessDocumentRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProcessDocumentRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
setField
public ProcessDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
clearField
public ProcessDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
clearOneof
public ProcessDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
setRepeatedField
public ProcessDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
addRepeatedField
public ProcessDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
mergeFrom
public ProcessDocumentRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessDocumentRequest.Builder>
-
mergeFrom
public ProcessDocumentRequest.Builder mergeFrom(ProcessDocumentRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
mergeFrom
public ProcessDocumentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessDocumentRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.string parent = 9;- Specified by:
getParentin interfaceProcessDocumentRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.string parent = 9;- Specified by:
getParentBytesin interfaceProcessDocumentRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public ProcessDocumentRequest.Builder setParent(String value)
Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.string parent = 9;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ProcessDocumentRequest.Builder clearParent()
Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.string parent = 9;- Returns:
- This builder for chaining.
-
setParentBytes
public ProcessDocumentRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.string parent = 9;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasInputConfig
public boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInputConfigin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputConfigin interfaceProcessDocumentRequestOrBuilder- Returns:
- The inputConfig.
-
setInputConfig
public ProcessDocumentRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
setInputConfig
public ProcessDocumentRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
mergeInputConfig
public ProcessDocumentRequest.Builder mergeInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearInputConfig
public ProcessDocumentRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
getInputConfigBuilder
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
getInputConfigOrBuilder
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta2.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputConfigOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
hasOutputConfig
public boolean hasOutputConfig()
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;- Specified by:
hasOutputConfigin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
public OutputConfig getOutputConfig()
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;- Specified by:
getOutputConfigin interfaceProcessDocumentRequestOrBuilder- Returns:
- The outputConfig.
-
setOutputConfig
public ProcessDocumentRequest.Builder setOutputConfig(OutputConfig value)
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
-
setOutputConfig
public ProcessDocumentRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
-
mergeOutputConfig
public ProcessDocumentRequest.Builder mergeOutputConfig(OutputConfig value)
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
-
clearOutputConfig
public ProcessDocumentRequest.Builder clearOutputConfig()
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
-
getOutputConfigBuilder
public OutputConfig.Builder getOutputConfigBuilder()
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
-
getOutputConfigOrBuilder
public OutputConfigOrBuilder getOutputConfigOrBuilder()
The desired output location. This field is only needed in BatchProcessDocumentsRequest.
.google.cloud.documentai.v1beta2.OutputConfig output_config = 2;- Specified by:
getOutputConfigOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
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;- Specified by:
getDocumentTypein interfaceProcessDocumentRequestOrBuilder- Returns:
- The documentType.
-
getDocumentTypeBytes
public com.google.protobuf.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;- Specified by:
getDocumentTypeBytesin interfaceProcessDocumentRequestOrBuilder- Returns:
- The bytes for documentType.
-
setDocumentType
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;- Parameters:
value- The documentType to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDocumentTypeBytes
public ProcessDocumentRequest.Builder setDocumentTypeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for documentType to set.- Returns:
- This builder for chaining.
-
hasTableExtractionParams
public boolean hasTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;- Specified by:
hasTableExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the tableExtractionParams field is set.
-
getTableExtractionParams
public TableExtractionParams getTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;- Specified by:
getTableExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- The tableExtractionParams.
-
setTableExtractionParams
public ProcessDocumentRequest.Builder setTableExtractionParams(TableExtractionParams value)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;
-
setTableExtractionParams
public ProcessDocumentRequest.Builder setTableExtractionParams(TableExtractionParams.Builder builderForValue)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;
-
mergeTableExtractionParams
public ProcessDocumentRequest.Builder mergeTableExtractionParams(TableExtractionParams value)
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;
-
clearTableExtractionParams
public ProcessDocumentRequest.Builder clearTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;
-
getTableExtractionParamsBuilder
public TableExtractionParams.Builder getTableExtractionParamsBuilder()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;
-
getTableExtractionParamsOrBuilder
public TableExtractionParamsOrBuilder getTableExtractionParamsOrBuilder()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.TableExtractionParams table_extraction_params = 4;- Specified by:
getTableExtractionParamsOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
hasFormExtractionParams
public boolean hasFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;- Specified by:
hasFormExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the formExtractionParams field is set.
-
getFormExtractionParams
public FormExtractionParams getFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;- Specified by:
getFormExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- The formExtractionParams.
-
setFormExtractionParams
public ProcessDocumentRequest.Builder setFormExtractionParams(FormExtractionParams value)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;
-
setFormExtractionParams
public ProcessDocumentRequest.Builder setFormExtractionParams(FormExtractionParams.Builder builderForValue)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;
-
mergeFormExtractionParams
public ProcessDocumentRequest.Builder mergeFormExtractionParams(FormExtractionParams value)
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;
-
clearFormExtractionParams
public ProcessDocumentRequest.Builder clearFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;
-
getFormExtractionParamsBuilder
public FormExtractionParams.Builder getFormExtractionParamsBuilder()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;
-
getFormExtractionParamsOrBuilder
public FormExtractionParamsOrBuilder getFormExtractionParamsOrBuilder()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.FormExtractionParams form_extraction_params = 5;- Specified by:
getFormExtractionParamsOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
hasEntityExtractionParams
public boolean hasEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;- Specified by:
hasEntityExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the entityExtractionParams field is set.
-
getEntityExtractionParams
public EntityExtractionParams getEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;- Specified by:
getEntityExtractionParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- The entityExtractionParams.
-
setEntityExtractionParams
public ProcessDocumentRequest.Builder setEntityExtractionParams(EntityExtractionParams value)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;
-
setEntityExtractionParams
public ProcessDocumentRequest.Builder setEntityExtractionParams(EntityExtractionParams.Builder builderForValue)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;
-
mergeEntityExtractionParams
public ProcessDocumentRequest.Builder mergeEntityExtractionParams(EntityExtractionParams value)
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;
-
clearEntityExtractionParams
public ProcessDocumentRequest.Builder clearEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;
-
getEntityExtractionParamsBuilder
public EntityExtractionParams.Builder getEntityExtractionParamsBuilder()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;
-
getEntityExtractionParamsOrBuilder
public EntityExtractionParamsOrBuilder getEntityExtractionParamsOrBuilder()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.EntityExtractionParams entity_extraction_params = 6;- Specified by:
getEntityExtractionParamsOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
hasOcrParams
public boolean hasOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;- Specified by:
hasOcrParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the ocrParams field is set.
-
getOcrParams
public OcrParams getOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;- Specified by:
getOcrParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- The ocrParams.
-
setOcrParams
public ProcessDocumentRequest.Builder setOcrParams(OcrParams value)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;
-
setOcrParams
public ProcessDocumentRequest.Builder setOcrParams(OcrParams.Builder builderForValue)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;
-
mergeOcrParams
public ProcessDocumentRequest.Builder mergeOcrParams(OcrParams value)
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;
-
clearOcrParams
public ProcessDocumentRequest.Builder clearOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;
-
getOcrParamsBuilder
public OcrParams.Builder getOcrParamsBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;
-
getOcrParamsOrBuilder
public OcrParamsOrBuilder getOcrParamsOrBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta2.OcrParams ocr_params = 7;- Specified by:
getOcrParamsOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
hasAutomlParams
public boolean hasAutomlParams()
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;- Specified by:
hasAutomlParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- Whether the automlParams field is set.
-
getAutomlParams
public AutoMlParams getAutomlParams()
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;- Specified by:
getAutomlParamsin interfaceProcessDocumentRequestOrBuilder- Returns:
- The automlParams.
-
setAutomlParams
public ProcessDocumentRequest.Builder setAutomlParams(AutoMlParams value)
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;
-
setAutomlParams
public ProcessDocumentRequest.Builder setAutomlParams(AutoMlParams.Builder builderForValue)
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;
-
mergeAutomlParams
public ProcessDocumentRequest.Builder mergeAutomlParams(AutoMlParams value)
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;
-
clearAutomlParams
public ProcessDocumentRequest.Builder clearAutomlParams()
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;
-
getAutomlParamsBuilder
public AutoMlParams.Builder getAutomlParamsBuilder()
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;
-
getAutomlParamsOrBuilder
public AutoMlParamsOrBuilder getAutomlParamsOrBuilder()
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
.google.cloud.documentai.v1beta2.AutoMlParams automl_params = 8;- Specified by:
getAutomlParamsOrBuilderin interfaceProcessDocumentRequestOrBuilder
-
setUnknownFields
public final ProcessDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
mergeUnknownFields
public final ProcessDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>
-
-