Class Dataset.DocumentWarehouseConfig.Builder (2.48.0)

public static final class Dataset.DocumentWarehouseConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public Dataset.DocumentWarehouseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.DocumentWarehouseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.DocumentWarehouseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.DocumentWarehouseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.DocumentWarehouseConfig.Builder
Overrides