Interface DatasetSchemaOrBuilder (2.51.0)

public interface DatasetSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentSchema()

public abstract DocumentSchema getDocumentSchema()

Optional. Schema of the dataset.

.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DocumentSchema

The documentSchema.

getDocumentSchemaOrBuilder()

public abstract DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()

Optional. Schema of the dataset.

.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DocumentSchemaOrBuilder

getName()

public abstract String getName()

Dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasDocumentSchema()

public abstract boolean hasDocumentSchema()

Optional. Schema of the dataset.

.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the documentSchema field is set.