Class Dataset.DocumentWarehouseConfig (2.45.0)

public static final class Dataset.DocumentWarehouseConfig extends GeneratedMessageV3 implements Dataset.DocumentWarehouseConfigOrBuilder

Configuration specific to the Document AI Warehouse-based implementation.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Dataset.DocumentWarehouseConfig

Static Fields

COLLECTION_FIELD_NUMBER

public static final int COLLECTION_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Dataset.DocumentWarehouseConfig getDefaultInstance()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig

getDescriptor()

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

newBuilder()

public static Dataset.DocumentWarehouseConfig.Builder newBuilder()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

newBuilder(Dataset.DocumentWarehouseConfig prototype)

public static Dataset.DocumentWarehouseConfig.Builder newBuilder(Dataset.DocumentWarehouseConfig prototype)
Parameter
NameDescription
prototypeDataset.DocumentWarehouseConfig
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

parseDelimitedFrom(InputStream input)

public static Dataset.DocumentWarehouseConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Dataset.DocumentWarehouseConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dataset.DocumentWarehouseConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dataset.DocumentWarehouseConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Dataset.DocumentWarehouseConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Dataset.DocumentWarehouseConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dataset.DocumentWarehouseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.DocumentWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Dataset.DocumentWarehouseConfig> parser()
Returns
TypeDescription
Parser<DocumentWarehouseConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Dataset.DocumentWarehouseConfig.Builder newBuilderForType()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Dataset.DocumentWarehouseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Dataset.DocumentWarehouseConfig.Builder toBuilder()
Returns
TypeDescription
Dataset.DocumentWarehouseConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException