Class BatchProcessRequest.BatchOutputConfig.Builder (2.16.0)

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

The message for output config in batch process.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchProcessRequest.BatchOutputConfig build()
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig

buildPartial()

public BatchProcessRequest.BatchOutputConfig buildPartial()
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig

clear()

public BatchProcessRequest.BatchOutputConfig.Builder clear()
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchProcessRequest.BatchOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchProcessRequest.BatchOutputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchProcessRequest.BatchOutputConfig.Builder clone()
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

getDefaultInstanceForType()

public BatchProcessRequest.BatchOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsDestination()

public String getGcsDestination()

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Returns
TypeDescription
String

The gcsDestination.

getGcsDestinationBytes()

public ByteString getGcsDestinationBytes()

The output Cloud Storage directory to put the processed documents.

string gcs_destination = 1;

Returns
TypeDescription
ByteString

The bytes for gcsDestination.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchProcessRequest.BatchOutputConfig other)

public BatchProcessRequest.BatchOutputConfig.Builder mergeFrom(BatchProcessRequest.BatchOutputConfig other)
Parameter
NameDescription
otherBatchProcessRequest.BatchOutputConfig
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessRequest.BatchOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsDestination to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsDestination to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchProcessRequest.BatchOutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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