Class DocumentOutputConfig.Builder (2.28.0)

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.v1beta3.DocumentOutputConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

build()

public DocumentOutputConfig build()
Returns
TypeDescription
DocumentOutputConfig

buildPartial()

public DocumentOutputConfig buildPartial()
Returns
TypeDescription
DocumentOutputConfig

clear()

public DocumentOutputConfig.Builder clear()
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

clearDestination()

public DocumentOutputConfig.Builder clearDestination()
Returns
TypeDescription
DocumentOutputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public DocumentOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

clearGcsOutputConfig()

public DocumentOutputConfig.Builder clearGcsOutputConfig()

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
DocumentOutputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

clone()

public DocumentOutputConfig.Builder clone()
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

getDefaultInstanceForType()

public DocumentOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
DocumentOutputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public DocumentOutputConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
DocumentOutputConfig.DestinationCase

getGcsOutputConfig()

public DocumentOutputConfig.GcsOutputConfig getGcsOutputConfig()

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig

The gcsOutputConfig.

getGcsOutputConfigBuilder()

public DocumentOutputConfig.GcsOutputConfig.Builder getGcsOutputConfigBuilder()

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder

getGcsOutputConfigOrBuilder()

public DocumentOutputConfig.GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfigOrBuilder

hasGcsOutputConfig()

public boolean hasGcsOutputConfig()

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
boolean

Whether the gcsOutputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DocumentOutputConfig other)

public DocumentOutputConfig.Builder mergeFrom(DocumentOutputConfig other)
Parameter
NameDescription
otherDocumentOutputConfig
Returns
TypeDescription
DocumentOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DocumentOutputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

mergeGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)

public DocumentOutputConfig.Builder mergeGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Parameter
NameDescription
valueDocumentOutputConfig.GcsOutputConfig
Returns
TypeDescription
DocumentOutputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)

public DocumentOutputConfig.Builder setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)

Output config to write the results to Cloud Storage.

.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Parameter
NameDescription
valueDocumentOutputConfig.GcsOutputConfig
Returns
TypeDescription
DocumentOutputConfig.Builder

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.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

Parameter
NameDescription
builderForValueDocumentOutputConfig.GcsOutputConfig.Builder
Returns
TypeDescription
DocumentOutputConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DocumentOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.Builder
Overrides