Class Dataset.GCSManagedConfig.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dataset.GCSManagedConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

build()

public Dataset.GCSManagedConfig build()
Returns
TypeDescription
Dataset.GCSManagedConfig

buildPartial()

public Dataset.GCSManagedConfig buildPartial()
Returns
TypeDescription
Dataset.GCSManagedConfig

clear()

public Dataset.GCSManagedConfig.Builder clear()
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Dataset.GCSManagedConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Dataset.GCSManagedConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.GCSManagedConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

clone()

public Dataset.GCSManagedConfig.Builder clone()
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

getDefaultInstanceForType()

public Dataset.GCSManagedConfig getDefaultInstanceForType()
Returns
TypeDescription
Dataset.GCSManagedConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gcsPrefix field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Dataset.GCSManagedConfig other)

public Dataset.GCSManagedConfig.Builder mergeFrom(Dataset.GCSManagedConfig other)
Parameter
NameDescription
otherDataset.GCSManagedConfig
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dataset.GCSManagedConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Dataset.GCSManagedConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsPrefix
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.GCSManagedConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Dataset.GCSManagedConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGcsPrefix
Returns
TypeDescription
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
NameDescription
builderForValueGcsPrefix.Builder
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

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

public Dataset.GCSManagedConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.GCSManagedConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder
Overrides