Class Dataset.DocumentWarehouseConfig.Builder (2.87.0)

public static final class Dataset.DocumentWarehouseConfig.Builder extends GeneratedMessage.Builder<Dataset.DocumentWarehouseConfig.Builder> implements Dataset.DocumentWarehouseConfigOrBuilder

Configuration specific to the Document AI Warehouse-based implementation.

Protobuf type google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig

Static Methods

getDescriptor()

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

Methods

build()

public Dataset.DocumentWarehouseConfig build()
Returns
Type Description
Dataset.DocumentWarehouseConfig

buildPartial()

public Dataset.DocumentWarehouseConfig buildPartial()
Returns
Type Description
Dataset.DocumentWarehouseConfig

clear()

public Dataset.DocumentWarehouseConfig.Builder clear()
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder
Overrides

clearCollection()

public Dataset.DocumentWarehouseConfig.Builder clearCollection()

Output only. The collection in Document AI Warehouse associated with the dataset.

string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

clearSchema()

public Dataset.DocumentWarehouseConfig.Builder clearSchema()

Output only. The schema in Document AI Warehouse associated with the dataset.

string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

getCollection()

public String getCollection()

Output only. The collection in Document AI Warehouse associated with the dataset.

string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The collection.

getCollectionBytes()

public ByteString getCollectionBytes()

Output only. The collection in Document AI Warehouse associated with the dataset.

string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for collection.

getDefaultInstanceForType()

public Dataset.DocumentWarehouseConfig getDefaultInstanceForType()
Returns
Type Description
Dataset.DocumentWarehouseConfig

getDescriptorForType()

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

getSchema()

public String getSchema()

Output only. The schema in Document AI Warehouse associated with the dataset.

string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Output only. The schema in Document AI Warehouse associated with the dataset.

string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Dataset.DocumentWarehouseConfig other)

public Dataset.DocumentWarehouseConfig.Builder mergeFrom(Dataset.DocumentWarehouseConfig other)
Parameter
Name Description
other Dataset.DocumentWarehouseConfig
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Dataset.DocumentWarehouseConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder
Overrides

setCollection(String value)

public Dataset.DocumentWarehouseConfig.Builder setCollection(String value)

Output only. The collection in Document AI Warehouse associated with the dataset.

string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The collection to set.

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

setCollectionBytes(ByteString value)

public Dataset.DocumentWarehouseConfig.Builder setCollectionBytes(ByteString value)

Output only. The collection in Document AI Warehouse associated with the dataset.

string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for collection to set.

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

setSchema(String value)

public Dataset.DocumentWarehouseConfig.Builder setSchema(String value)

Output only. The schema in Document AI Warehouse associated with the dataset.

string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The schema to set.

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

public Dataset.DocumentWarehouseConfig.Builder setSchemaBytes(ByteString value)

Output only. The schema in Document AI Warehouse associated with the dataset.

string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.