Class BatchProcessRequest.BatchOutputConfig.Builder (2.51.0)

public static final class BatchProcessRequest.BatchOutputConfig.Builder extends GeneratedMessageV3.Builder<BatchProcessRequest.BatchOutputConfig.Builder> implements BatchProcessRequest.BatchOutputConfigOrBuilder

The output configuration in the BatchProcessDocuments method.

Protobuf type google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessRequest.BatchOutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

build()

public BatchProcessRequest.BatchOutputConfig build()
Returns
Type Description
BatchProcessRequest.BatchOutputConfig

buildPartial()

public BatchProcessRequest.BatchOutputConfig buildPartial()
Returns
Type Description
BatchProcessRequest.BatchOutputConfig

clear()

public BatchProcessRequest.BatchOutputConfig.Builder clear()
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchProcessRequest.BatchOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

clearGcsDestination()

public BatchProcessRequest.BatchOutputConfig.Builder clearGcsDestination()

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchProcessRequest.BatchOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

clone()

public BatchProcessRequest.BatchOutputConfig.Builder clone()
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

getDefaultInstanceForType()

public BatchProcessRequest.BatchOutputConfig getDefaultInstanceForType()
Returns
Type Description
BatchProcessRequest.BatchOutputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsDestination()

public String getGcsDestination()

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Returns
Type Description
String

The gcsDestination.

getGcsDestinationBytes()

public ByteString getGcsDestinationBytes()

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Returns
Type Description
ByteString

The bytes for gcsDestination.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchProcessRequest.BatchOutputConfig other)

public BatchProcessRequest.BatchOutputConfig.Builder mergeFrom(BatchProcessRequest.BatchOutputConfig other)
Parameter
Name Description
other BatchProcessRequest.BatchOutputConfig
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchProcessRequest.BatchOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchProcessRequest.BatchOutputConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessRequest.BatchOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessRequest.BatchOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

setGcsDestination(String value)

public BatchProcessRequest.BatchOutputConfig.Builder setGcsDestination(String value)

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Parameter
Name Description
value String

The gcsDestination to set.

Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder

This builder for chaining.

setGcsDestinationBytes(ByteString value)

public BatchProcessRequest.BatchOutputConfig.Builder setGcsDestinationBytes(ByteString value)

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Parameter
Name Description
value ByteString

The bytes for gcsDestination to set.

Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder

This builder for chaining.

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

public BatchProcessRequest.BatchOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessRequest.BatchOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchProcessRequest.BatchOutputConfig.Builder
Overrides