public static final class Dataset.DocumentWarehouseConfig.Builder extends GeneratedMessage.Builder<Dataset.DocumentWarehouseConfig.Builder> implements Dataset.DocumentWarehouseConfigOrBuilderConfiguration specific to the Document AI Warehouse-based implementation.
Protobuf type google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Dataset.DocumentWarehouseConfig.BuilderImplements
Dataset.DocumentWarehouseConfigOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for schema to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.DocumentWarehouseConfig.Builder |
This builder for chaining. |