Class Dataset.DocumentWarehouseConfig.Builder (2.44.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Dataset.DocumentWarehouseConfig build()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig

buildPartial()

public Dataset.DocumentWarehouseConfig buildPartial()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig

clear()

public Dataset.DocumentWarehouseConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.DocumentWarehouseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

clone()

public Dataset.DocumentWarehouseConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for collection.

getDefaultInstanceForType()

public Dataset.DocumentWarehouseConfig getDefaultInstanceForType()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Dataset.DocumentWarehouseConfig other)

public Dataset.DocumentWarehouseConfig.Builder mergeFrom(Dataset.DocumentWarehouseConfig other)
Parameter
NameDescription
otherDataset.DocumentWarehouseConfig
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.DocumentWarehouseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The collection to set.

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

The bytes for collection to set.

Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The schema to set.

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

The bytes for schema to set.

Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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