- 2.80.0 (latest)
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.74.0
- 2.72.0
- 2.71.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Dataset.Builder extends GeneratedMessageV3.Builder<Dataset.Builder> implements DatasetOrBuilderA singleton resource under a Processor which configures a collection of documents.
Protobuf type google.cloud.documentai.v1beta3.Dataset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Dataset.BuilderImplements
DatasetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
build()
public Dataset build()| Returns | |
|---|---|
| Type | Description |
Dataset |
|
buildPartial()
public Dataset buildPartial()| Returns | |
|---|---|
| Type | Description |
Dataset |
|
clear()
public Dataset.Builder clear()| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearDocumentWarehouseConfig() (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];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Dataset.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearGcsManagedConfig()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearIndexingSource()
public Dataset.Builder clearIndexingSource()| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearName()
public Dataset.Builder clearName() Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearSatisfiesPzi()
public Dataset.Builder clearSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public Dataset.Builder clearSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
clearSpannerIndexingConfig()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearState()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
clearStorageSource()
public Dataset.Builder clearStorageSource()| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clearUnmanagedDatasetConfig()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
clone()
public Dataset.Builder clone()| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
getDefaultInstanceForType()
public Dataset getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Dataset |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDocumentWarehouseConfig() (deprecated)
public Dataset.DocumentWarehouseConfig getDocumentWarehouseConfig()Deprecated. google.cloud.documentai.v1beta3.Dataset.document_warehouse_config is deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=98
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.DocumentWarehouseConfig |
The documentWarehouseConfig. |
getDocumentWarehouseConfigBuilder() (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];
| Returns | |
|---|---|
| Type | Description |
Dataset.DocumentWarehouseConfig.Builder |
|
getDocumentWarehouseConfigOrBuilder() (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];
| Returns | |
|---|---|
| Type | Description |
Dataset.DocumentWarehouseConfigOrBuilder |
|
getGcsManagedConfig()
public 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 | |
|---|---|
| Type | Description |
Dataset.GCSManagedConfig |
The gcsManagedConfig. |
getGcsManagedConfigBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.GCSManagedConfig.Builder |
|
getGcsManagedConfigOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.GCSManagedConfigOrBuilder |
|
getIndexingSourceCase()
public Dataset.IndexingSourceCase getIndexingSourceCase()| Returns | |
|---|---|
| Type | Description |
Dataset.IndexingSourceCase |
|
getName()
public String getName() Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSatisfiesPzi()
public boolean getSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The satisfiesPzi. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The satisfiesPzs. |
getSpannerIndexingConfig()
public 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 | |
|---|---|
| Type | Description |
Dataset.SpannerIndexingConfig |
The spannerIndexingConfig. |
getSpannerIndexingConfigBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.SpannerIndexingConfig.Builder |
|
getSpannerIndexingConfigOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.SpannerIndexingConfigOrBuilder |
|
getState()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.State |
The state. |
getStateValue()
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getStorageSourceCase()
public Dataset.StorageSourceCase getStorageSourceCase()| Returns | |
|---|---|
| Type | Description |
Dataset.StorageSourceCase |
|
getUnmanagedDatasetConfig()
public 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 | |
|---|---|
| Type | Description |
Dataset.UnmanagedDatasetConfig |
The unmanagedDatasetConfig. |
getUnmanagedDatasetConfigBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.UnmanagedDatasetConfig.Builder |
|
getUnmanagedDatasetConfigOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Dataset.UnmanagedDatasetConfigOrBuilder |
|
hasDocumentWarehouseConfig() (deprecated)
public boolean hasDocumentWarehouseConfig()Deprecated. google.cloud.documentai.v1beta3.Dataset.document_warehouse_config is deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=98
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the documentWarehouseConfig field is set. |
hasGcsManagedConfig()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsManagedConfig field is set. |
hasSpannerIndexingConfig()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the spannerIndexingConfig field is set. |
hasUnmanagedDatasetConfig()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the unmanagedDatasetConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig value) (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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.DocumentWarehouseConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeFrom(Dataset other)
public Dataset.Builder mergeFrom(Dataset other)| Parameter | |
|---|---|
| Name | Description |
other |
Dataset |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Dataset.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeGcsManagedConfig(Dataset.GCSManagedConfig value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.GCSManagedConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeSpannerIndexingConfig(Dataset.SpannerIndexingConfig value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.SpannerIndexingConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
mergeUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.UnmanagedDatasetConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig value) (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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.DocumentWarehouseConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setDocumentWarehouseConfig(Dataset.DocumentWarehouseConfig.Builder builderForValue) (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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Dataset.DocumentWarehouseConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setGcsManagedConfig(Dataset.GCSManagedConfig value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.GCSManagedConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setGcsManagedConfig(Dataset.GCSManagedConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Dataset.GCSManagedConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setName(String value)
public Dataset.Builder setName(String value) Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Dataset.Builder setNameBytes(ByteString value) Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Dataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setSatisfiesPzi(boolean value)
public Dataset.Builder setSatisfiesPzi(boolean value)Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe satisfiesPzi to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setSatisfiesPzs(boolean value)
public Dataset.Builder setSatisfiesPzs(boolean value)Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe satisfiesPzs to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setSpannerIndexingConfig(Dataset.SpannerIndexingConfig value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.SpannerIndexingConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setSpannerIndexingConfig(Dataset.SpannerIndexingConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Dataset.SpannerIndexingConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setState(Dataset.State value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setStateValue(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Dataset.UnmanagedDatasetConfig |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|
setUnmanagedDatasetConfig(Dataset.UnmanagedDatasetConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Dataset.UnmanagedDatasetConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Dataset.Builder |
|