public static final class GcsFilesetSpec.Builder extends GeneratedMessageV3.Builder<GcsFilesetSpec.Builder> implements GcsFilesetSpecOrBuilder
Describes a Cloud Storage fileset entry.
Protobuf type google.cloud.datacatalog.v1.GcsFilesetSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFilePatterns(Iterable<String> values)
public GcsFilesetSpec.Builder addAllFilePatterns(Iterable<String> values)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<String>
The filePatterns to add.
|
addAllSampleGcsFileSpecs(Iterable<? extends GcsFileSpec> values)
public GcsFilesetSpec.Builder addAllSampleGcsFileSpecs(Iterable<? extends GcsFileSpec> values)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.GcsFileSpec>
|
addFilePatterns(String value)
public GcsFilesetSpec.Builder addFilePatterns(String value)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The filePatterns to add.
|
addFilePatternsBytes(ByteString value)
public GcsFilesetSpec.Builder addFilePatternsBytes(ByteString value)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the filePatterns to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSampleGcsFileSpecs(GcsFileSpec value)
public GcsFilesetSpec.Builder addSampleGcsFileSpecs(GcsFileSpec value)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSampleGcsFileSpecs(GcsFileSpec.Builder builderForValue)
public GcsFilesetSpec.Builder addSampleGcsFileSpecs(GcsFileSpec.Builder builderForValue)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSampleGcsFileSpecs(int index, GcsFileSpec value)
public GcsFilesetSpec.Builder addSampleGcsFileSpecs(int index, GcsFileSpec value)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSampleGcsFileSpecs(int index, GcsFileSpec.Builder builderForValue)
public GcsFilesetSpec.Builder addSampleGcsFileSpecs(int index, GcsFileSpec.Builder builderForValue)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSampleGcsFileSpecsBuilder()
public GcsFileSpec.Builder addSampleGcsFileSpecsBuilder()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSampleGcsFileSpecsBuilder(int index)
public GcsFileSpec.Builder addSampleGcsFileSpecsBuilder(int index)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
build()
public GcsFilesetSpec build()
buildPartial()
public GcsFilesetSpec buildPartial()
clear()
public GcsFilesetSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsFilesetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilePatterns()
public GcsFilesetSpec.Builder clearFilePatterns()
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsFilesetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSampleGcsFileSpecs()
public GcsFilesetSpec.Builder clearSampleGcsFileSpecs()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public GcsFilesetSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public GcsFilesetSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilePatterns(int index)
public String getFilePatterns(int index)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The filePatterns at the given index.
|
getFilePatternsBytes(int index)
public ByteString getFilePatternsBytes(int index)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the filePatterns at the given index.
|
getFilePatternsCount()
public int getFilePatternsCount()
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The count of filePatterns.
|
getFilePatternsList()
public ProtocolStringList getFilePatternsList()
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
getSampleGcsFileSpecs(int index)
public GcsFileSpec getSampleGcsFileSpecs(int index)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSampleGcsFileSpecsBuilder(int index)
public GcsFileSpec.Builder getSampleGcsFileSpecsBuilder(int index)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSampleGcsFileSpecsBuilderList()
public List<GcsFileSpec.Builder> getSampleGcsFileSpecsBuilderList()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSampleGcsFileSpecsCount()
public int getSampleGcsFileSpecsCount()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getSampleGcsFileSpecsList()
public List<GcsFileSpec> getSampleGcsFileSpecsList()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSampleGcsFileSpecsOrBuilder(int index)
public GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder(int index)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSampleGcsFileSpecsOrBuilderList()
public List<? extends GcsFileSpecOrBuilder> getSampleGcsFileSpecsOrBuilderList()
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GcsFilesetSpec other)
public GcsFilesetSpec.Builder mergeFrom(GcsFilesetSpec other)
public GcsFilesetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GcsFilesetSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSampleGcsFileSpecs(int index)
public GcsFilesetSpec.Builder removeSampleGcsFileSpecs(int index)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilePatterns(int index, String value)
public GcsFilesetSpec.Builder setFilePatterns(int index, String value)
Required. Patterns to identify a set of files in Google Cloud Storage.
For more information, see Wildcard Names.
Note: Currently, bucket wildcards are not supported.
Examples of valid file_patterns
:
gs://bucket_name/dir/*
: matches all files in bucket_name/dir
directory
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
and all subdirectories
gs://bucket_name/file*
: matches files prefixed by file
in
bucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by
.txt
in bucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single
vowel character followed by .txt
in
bucket_name
gs://bucket_name/[a-m].txt
: matches files that contain a
, b
, ...
or m
followed by .txt
in bucket_name
gs://bucket_name/a/*/b
: matches all files in bucket_name
that match
the a/*/b
pattern, such as a/c/b
, a/d/b
gs://another_bucket/a.txt
: matches gs://another_bucket/a.txt
You can combine wildcards to match complex sets of files, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The filePatterns to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsFilesetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSampleGcsFileSpecs(int index, GcsFileSpec value)
public GcsFilesetSpec.Builder setSampleGcsFileSpecs(int index, GcsFileSpec value)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setSampleGcsFileSpecs(int index, GcsFileSpec.Builder builderForValue)
public GcsFilesetSpec.Builder setSampleGcsFileSpecs(int index, GcsFileSpec.Builder builderForValue)
Output only. Sample files contained in this fileset, not all files
contained in this fileset are represented here.
repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides