Class Dataset.GCSManagedConfig.Builder (2.47.0)

public static final class Dataset.GCSManagedConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dataset.GCSManagedConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Dataset.GCSManagedConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.GCSManagedConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.GCSManagedConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Dataset.GCSManagedConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Dataset.GCSManagedConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.GCSManagedConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.GCSManagedConfig.Builder
Overrides