public static final class Dataset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder> implements DatasetOrBuilder
A singleton resource under a [Processor][google.cloud.documentai.v1beta3.Processor] which configures a collection of documents.Protobuf type
google.cloud.documentai.v1beta3.DatasetgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Dataset build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Dataset buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Dataset.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dataset.Builder>public Dataset.Builder mergeFrom(Dataset other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public Dataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dataset.Builder>IOExceptionpublic Dataset.StorageSourceCase getStorageSourceCase()
getStorageSourceCase in interface DatasetOrBuilderpublic Dataset.Builder clearStorageSource()
public Dataset.IndexingSourceCase getIndexingSourceCase()
getIndexingSourceCase in interface DatasetOrBuilderpublic Dataset.Builder clearIndexingSource()
public 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];
hasGcsManagedConfig in interface DatasetOrBuilderpublic 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];
getGcsManagedConfig in interface DatasetOrBuilderpublic Dataset.Builder setGcsManagedConfig(Dataset.GCSManagedConfig value)
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];
public Dataset.Builder setGcsManagedConfig(Dataset.GCSManagedConfig.Builder builderForValue)
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];
public Dataset.Builder mergeGcsManagedConfig(Dataset.GCSManagedConfig value)
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];
public Dataset.Builder clearGcsManagedConfig()
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];
public Dataset.GCSManagedConfig.Builder getGcsManagedConfigBuilder()
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];
public 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];
getGcsManagedConfigOrBuilder in interface DatasetOrBuilder@Deprecated public boolean hasDocumentWarehouseConfig()
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
hasDocumentWarehouseConfig in interface DatasetOrBuilder@Deprecated public Dataset.DocumentWarehouseConfig getDocumentWarehouseConfig()
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getDocumentWarehouseConfig in interface DatasetOrBuilder@Deprecated public Dataset.Builder setDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig value)
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Dataset.Builder setDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig.Builder builderForValue)
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Dataset.Builder mergeDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig value)
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Dataset.Builder clearDocumentWarehouseConfig()
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Dataset.DocumentWarehouseConfig.Builder getDocumentWarehouseConfigBuilder()
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Dataset.DocumentWarehouseConfigOrBuilder getDocumentWarehouseConfigOrBuilder()
Optional. Deprecated. Warehouse-based dataset configuration is not supported.
.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig document_warehouse_config = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getDocumentWarehouseConfigOrBuilder in interface DatasetOrBuilderpublic 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];
hasUnmanagedDatasetConfig in interface DatasetOrBuilderpublic 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];
getUnmanagedDatasetConfig in interface DatasetOrBuilderpublic Dataset.Builder setUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig value)
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];
public Dataset.Builder setUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig.Builder builderForValue)
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];
public Dataset.Builder mergeUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig value)
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];
public Dataset.Builder clearUnmanagedDatasetConfig()
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];
public Dataset.UnmanagedDatasetConfig.Builder getUnmanagedDatasetConfigBuilder()
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];
public 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];
getUnmanagedDatasetConfigOrBuilder in interface DatasetOrBuilderpublic 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];
hasSpannerIndexingConfig in interface DatasetOrBuilderpublic 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];
getSpannerIndexingConfig in interface DatasetOrBuilderpublic Dataset.Builder setSpannerIndexingConfig(Dataset.SpannerIndexingConfig value)
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];
public Dataset.Builder setSpannerIndexingConfig(Dataset.SpannerIndexingConfig.Builder builderForValue)
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];
public Dataset.Builder mergeSpannerIndexingConfig(Dataset.SpannerIndexingConfig value)
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];
public Dataset.Builder clearSpannerIndexingConfig()
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];
public Dataset.SpannerIndexingConfig.Builder getSpannerIndexingConfigBuilder()
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];
public 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];
getSpannerIndexingConfigOrBuilder in interface DatasetOrBuilderpublic String getName()
Dataset resource name.
Format:
`projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;getName in interface DatasetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Dataset resource name.
Format:
`projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;getNameBytes in interface DatasetOrBuilderpublic Dataset.Builder setName(String value)
Dataset resource name.
Format:
`projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;value - The name to set.public Dataset.Builder clearName()
Dataset resource name.
Format:
`projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;public Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
Dataset resource name.
Format:
`projects/{project}/locations/{location}/processors/{processor}/dataset`
string name = 1;value - The bytes for name to set.public int getStateValue()
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
getStateValue in interface DatasetOrBuilderpublic Dataset.Builder setStateValue(int value)
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for state to set.public 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];
getState in interface DatasetOrBuilderpublic Dataset.Builder setState(Dataset.State value)
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
value - The state to set.public Dataset.Builder clearState()
Required. State of the dataset. Ignored when updating dataset.
.google.cloud.documentai.v1beta3.Dataset.State state = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface DatasetOrBuilderpublic Dataset.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzs to set.public Dataset.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean getSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzi in interface DatasetOrBuilderpublic Dataset.Builder setSatisfiesPzi(boolean value)
Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzi to set.public Dataset.Builder clearSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public final Dataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>public final Dataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>Copyright © 2024 Google LLC. All rights reserved.