public static final class ProcessOptions.Builder extends GeneratedMessageV3.Builder<ProcessOptions.Builder> implements ProcessOptionsOrBuilder
Options for Process API
Protobuf type google.cloud.documentai.v1beta3.ProcessOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProcessOptions build()
Returns
buildPartial()
public ProcessOptions buildPartial()
Returns
clear()
public ProcessOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProcessOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOcrConfig()
public ProcessOptions.Builder clearOcrConfig()
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ProcessOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProcessOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOcrConfig()
public OcrConfig getOcrConfig()
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Returns
getOcrConfigBuilder()
public OcrConfig.Builder getOcrConfigBuilder()
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Returns
getOcrConfigOrBuilder()
public OcrConfigOrBuilder getOcrConfigOrBuilder()
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Returns
hasOcrConfig()
public boolean hasOcrConfig()
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Returns
Type | Description |
boolean | Whether the ocrConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProcessOptions other)
public ProcessOptions.Builder mergeFrom(ProcessOptions other)
Parameter
Returns
public ProcessOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProcessOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeOcrConfig(OcrConfig value)
public ProcessOptions.Builder mergeOcrConfig(OcrConfig value)
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOcrConfig(OcrConfig value)
public ProcessOptions.Builder setOcrConfig(OcrConfig value)
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Parameter
Returns
setOcrConfig(OcrConfig.Builder builderForValue)
public ProcessOptions.Builder setOcrConfig(OcrConfig.Builder builderForValue)
Only applicable to "Document OCR Processor". Returns error if set on other
processor types.
.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides