public static final class ProcessDocumentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder> implements ProcessDocumentRequestOrBuilder
Request to process one document.Protobuf type
google.cloud.documentai.v1beta1.ProcessDocumentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ProcessDocumentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ProcessDocumentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ProcessDocumentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder mergeFrom(ProcessDocumentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public ProcessDocumentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessDocumentRequest.Builder>IOExceptionpublic boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
hasInputConfig in interface ProcessDocumentRequestOrBuilderpublic InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
getInputConfig in interface ProcessDocumentRequestOrBuilderpublic ProcessDocumentRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public ProcessDocumentRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
getInputConfigOrBuilder in interface ProcessDocumentRequestOrBuilderpublic boolean hasOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasOutputConfig in interface ProcessDocumentRequestOrBuilderpublic OutputConfig getOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfig in interface ProcessDocumentRequestOrBuilderpublic ProcessDocumentRequest.Builder setOutputConfig(OutputConfig value)
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public ProcessDocumentRequest.Builder mergeOutputConfig(OutputConfig value)
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ProcessDocumentRequest.Builder clearOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
public OutputConfig.Builder getOutputConfigBuilder()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigOrBuilder in interface ProcessDocumentRequestOrBuilderpublic 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;getDocumentType in interface ProcessDocumentRequestOrBuilderpublic 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;getDocumentTypeBytes in interface ProcessDocumentRequestOrBuilderpublic 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;value - The documentType to set.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;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;value - The bytes for documentType to set.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;
hasTableExtractionParams in interface ProcessDocumentRequestOrBuilderpublic TableExtractionParams getTableExtractionParams()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
getTableExtractionParams in interface ProcessDocumentRequestOrBuilderpublic 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;
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;
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;
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;
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;
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;
getTableExtractionParamsOrBuilder in interface ProcessDocumentRequestOrBuilderpublic boolean hasFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
hasFormExtractionParams in interface ProcessDocumentRequestOrBuilderpublic FormExtractionParams getFormExtractionParams()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
getFormExtractionParams in interface ProcessDocumentRequestOrBuilderpublic 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;
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;
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;
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;
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;
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;
getFormExtractionParamsOrBuilder in interface ProcessDocumentRequestOrBuilderpublic boolean hasEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
hasEntityExtractionParams in interface ProcessDocumentRequestOrBuilderpublic EntityExtractionParams getEntityExtractionParams()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
getEntityExtractionParams in interface ProcessDocumentRequestOrBuilderpublic 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;
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;
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;
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;
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;
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;
getEntityExtractionParamsOrBuilder in interface ProcessDocumentRequestOrBuilderpublic boolean hasOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;hasOcrParams in interface ProcessDocumentRequestOrBuilderpublic OcrParams getOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;getOcrParams in interface ProcessDocumentRequestOrBuilderpublic 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;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;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;public ProcessDocumentRequest.Builder clearOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;public OcrParams.Builder getOcrParamsBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;public OcrParamsOrBuilder getOcrParamsOrBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;getOcrParamsOrBuilder in interface ProcessDocumentRequestOrBuilderpublic final ProcessDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>public final ProcessDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.