Class Dataset.GCSManagedConfig.Builder (2.87.0)

public static final class Dataset.GCSManagedConfig.Builder extends GeneratedMessage.Builder<Dataset.GCSManagedConfig.Builder> implements Dataset.GCSManagedConfigOrBuilder

Configuration specific to the Cloud Storage-based implementation.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Dataset.GCSManagedConfig build()
Returns
Type Description
Dataset.GCSManagedConfig

buildPartial()

public Dataset.GCSManagedConfig buildPartial()
Returns
Type Description
Dataset.GCSManagedConfig

clear()

public Dataset.GCSManagedConfig.Builder clear()
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

clearGcsPrefix()

public Dataset.GCSManagedConfig.Builder clearGcsPrefix()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dataset.GCSManagedConfig.Builder

getDefaultInstanceForType()

public Dataset.GCSManagedConfig getDefaultInstanceForType()
Returns
Type Description
Dataset.GCSManagedConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsPrefix()

public GcsPrefix getGcsPrefix()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsPrefix

The gcsPrefix.

getGcsPrefixBuilder()

public GcsPrefix.Builder getGcsPrefixBuilder()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsPrefix.Builder

getGcsPrefixOrBuilder()

public GcsPrefixOrBuilder getGcsPrefixOrBuilder()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsPrefixOrBuilder

hasGcsPrefix()

public boolean hasGcsPrefix()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gcsPrefix field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Dataset.GCSManagedConfig other)

public Dataset.GCSManagedConfig.Builder mergeFrom(Dataset.GCSManagedConfig other)
Parameter
Name Description
other Dataset.GCSManagedConfig
Returns
Type Description
Dataset.GCSManagedConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dataset.GCSManagedConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Dataset.GCSManagedConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

mergeGcsPrefix(GcsPrefix value)

public Dataset.GCSManagedConfig.Builder mergeGcsPrefix(GcsPrefix value)

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcsPrefix
Returns
Type Description
Dataset.GCSManagedConfig.Builder

setGcsPrefix(GcsPrefix value)

public Dataset.GCSManagedConfig.Builder setGcsPrefix(GcsPrefix value)

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcsPrefix
Returns
Type Description
Dataset.GCSManagedConfig.Builder

setGcsPrefix(GcsPrefix.Builder builderForValue)

public Dataset.GCSManagedConfig.Builder setGcsPrefix(GcsPrefix.Builder builderForValue)

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GcsPrefix.Builder
Returns
Type Description
Dataset.GCSManagedConfig.Builder