Send feedback Class DocumentOutputConfig.Builder (2.76.0) Stay organized with collections Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class DocumentOutputConfig . Builder extends GeneratedMessageV3 . Builder<DocumentOutputConfig . Builder > implements DocumentOutputConfigOrBuilder
Config that controls the output of documents. All documents will be written as a JSON file.
Protobuf type google.cloud.documentai.v1.DocumentOutputConfig
Inherited Members com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 DocumentOutputConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides build()
public DocumentOutputConfig build ()
buildPartial()
public DocumentOutputConfig buildPartial ()
clear()
public DocumentOutputConfig . Builder clear ()
Overrides clearDestination()
public DocumentOutputConfig . Builder clearDestination ()
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides clearGcsOutputConfig()
public DocumentOutputConfig . Builder clearGcsOutputConfig ()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides clone()
public DocumentOutputConfig . Builder clone ()
Overrides getDefaultInstanceForType()
public DocumentOutputConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides getDestinationCase()
public DocumentOutputConfig . DestinationCase getDestinationCase ()
getGcsOutputConfig()
public DocumentOutputConfig . GcsOutputConfig getGcsOutputConfig ()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
getGcsOutputConfigBuilder()
public DocumentOutputConfig . GcsOutputConfig . Builder getGcsOutputConfigBuilder ()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
getGcsOutputConfigOrBuilder()
public DocumentOutputConfig . GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder ()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
hasGcsOutputConfig()
public boolean hasGcsOutputConfig ()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns Type Description boolean
Whether the gcsOutputConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides mergeFrom(DocumentOutputConfig other)
public DocumentOutputConfig . Builder mergeFrom ( DocumentOutputConfig other )
public DocumentOutputConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides mergeFrom(Message other)
public DocumentOutputConfig . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides mergeGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
public DocumentOutputConfig . Builder mergeGcsOutputConfig ( DocumentOutputConfig . GcsOutputConfig value )
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
public DocumentOutputConfig . Builder setGcsOutputConfig ( DocumentOutputConfig . GcsOutputConfig value )
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig.Builder builderForValue)
public DocumentOutputConfig . Builder setGcsOutputConfig ( DocumentOutputConfig . GcsOutputConfig . Builder builderForValue )
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig . 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-08-18 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-08-18 UTC."],[],[],null,[]]