Send feedback
Class ProcessDocumentResponse.Builder (2.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.0 keyboard_arrow_down
public static final class ProcessDocumentResponse . Builder extends GeneratedMessageV3 . Builder<ProcessDocumentResponse . Builder > implements ProcessDocumentResponseOrBuilder
Response to a single document processing request.
Protobuf type google.cloud.documentai.v1beta1.ProcessDocumentResponse
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessDocumentResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ProcessDocumentResponse build ()
buildPartial()
public ProcessDocumentResponse buildPartial ()
clear()
public ProcessDocumentResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProcessDocumentResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public ProcessDocumentResponse . Builder clearInputConfig ()
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessDocumentResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearOutputConfig()
public ProcessDocumentResponse . Builder clearOutputConfig ()
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
clone()
public ProcessDocumentResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ProcessDocumentResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public InputConfig getInputConfig ()
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
public InputConfig . Builder getInputConfigBuilder ()
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
public InputConfigOrBuilder getInputConfigOrBuilder ()
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
getOutputConfig()
public OutputConfig getOutputConfig ()
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
getOutputConfigBuilder()
public OutputConfig . Builder getOutputConfigBuilder ()
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder ()
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
public boolean hasInputConfig ()
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
Returns Type Description boolean
Whether the inputConfig field is set.
hasOutputConfig()
public boolean hasOutputConfig ()
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
Returns Type Description boolean
Whether the outputConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ProcessDocumentResponse other)
public ProcessDocumentResponse . Builder mergeFrom ( ProcessDocumentResponse other )
public ProcessDocumentResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ProcessDocumentResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public ProcessDocumentResponse . Builder mergeInputConfig ( InputConfig value )
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
mergeOutputConfig(OutputConfig value)
public ProcessDocumentResponse . Builder mergeOutputConfig ( OutputConfig value )
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessDocumentResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessDocumentResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ProcessDocumentResponse . Builder setInputConfig ( InputConfig value )
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
public ProcessDocumentResponse . Builder setInputConfig ( InputConfig . Builder builderForValue )
Information about the input file. This is the same as the corresponding
input config in the request.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1;
setOutputConfig(OutputConfig value)
public ProcessDocumentResponse . Builder setOutputConfig ( OutputConfig value )
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
setOutputConfig(OutputConfig.Builder builderForValue)
public ProcessDocumentResponse . Builder setOutputConfig ( OutputConfig . Builder builderForValue )
The output location of the parsed responses. The responses are written to
this location as JSON-serialized Document
objects.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessDocumentResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessDocumentResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]