Interface DatasetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Dataset
,Dataset.Builder
public interface DatasetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGcsManagedConfig
boolean hasGcsManagedConfig()
Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
.google.cloud.documentai.v1beta3.Dataset.GCSManagedConfig gcs_managed_config = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the gcsManagedConfig field is set.
-
getGcsManagedConfig
Dataset.GCSManagedConfig getGcsManagedConfig()
Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
.google.cloud.documentai.v1beta3.Dataset.GCSManagedConfig gcs_managed_config = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The gcsManagedConfig.
-
getGcsManagedConfigOrBuilder
Dataset.GCSManagedConfigOrBuilder getGcsManagedConfigOrBuilder()
Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
.google.cloud.documentai.v1beta3.Dataset.GCSManagedConfig gcs_managed_config = 3 [(.google.api.field_behavior) = OPTIONAL];
-
hasDocumentWarehouseConfig
boolean hasDocumentWarehouseConfig()
Optional. Document AI Warehouse-based dataset configuration.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the documentWarehouseConfig field is set.
-
getDocumentWarehouseConfig
Dataset.DocumentWarehouseConfig getDocumentWarehouseConfig()
Optional. Document AI Warehouse-based dataset configuration.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The documentWarehouseConfig.
-
getDocumentWarehouseConfigOrBuilder
Dataset.DocumentWarehouseConfigOrBuilder getDocumentWarehouseConfigOrBuilder()
Optional. Document AI Warehouse-based dataset configuration.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
hasUnmanagedDatasetConfig
boolean hasUnmanagedDatasetConfig()
Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).
.google.cloud.documentai.v1beta3.Dataset.UnmanagedDatasetConfig unmanaged_dataset_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the unmanagedDatasetConfig field is set.
-
getUnmanagedDatasetConfig
Dataset.UnmanagedDatasetConfig getUnmanagedDatasetConfig()
Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).
.google.cloud.documentai.v1beta3.Dataset.UnmanagedDatasetConfig unmanaged_dataset_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The unmanagedDatasetConfig.
-
getUnmanagedDatasetConfigOrBuilder
Dataset.UnmanagedDatasetConfigOrBuilder getUnmanagedDatasetConfigOrBuilder()
Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).
.google.cloud.documentai.v1beta3.Dataset.UnmanagedDatasetConfig unmanaged_dataset_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
hasSpannerIndexingConfig
boolean hasSpannerIndexingConfig()
Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
.google.cloud.documentai.v1beta3.Dataset.SpannerIndexingConfig spanner_indexing_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the spannerIndexingConfig field is set.
-
getSpannerIndexingConfig
Dataset.SpannerIndexingConfig getSpannerIndexingConfig()
Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
.google.cloud.documentai.v1beta3.Dataset.SpannerIndexingConfig spanner_indexing_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The spannerIndexingConfig.
-
getSpannerIndexingConfigOrBuilder
Dataset.SpannerIndexingConfigOrBuilder getSpannerIndexingConfigOrBuilder()
Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
.google.cloud.documentai.v1beta3.Dataset.SpannerIndexingConfig spanner_indexing_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getName
String getName()
Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;
- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Dataset.State getState()
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The state.
-
getStorageSourceCase
Dataset.StorageSourceCase getStorageSourceCase()
-
getIndexingSourceCase
Dataset.IndexingSourceCase getIndexingSourceCase()
-
-