- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class GcsFilesetSpec.Builder extends GeneratedMessageV3.Builder<GcsFilesetSpec.Builder> implements GcsFilesetSpecOrBuilder
Describes a Cloud Storage fileset entry.
Protobuf type google.cloud.datacatalog.v1beta1.GcsFilesetSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcsFilesetSpec.BuilderImplements
GcsFilesetSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFilePatterns(Iterable<String> values)
public GcsFilesetSpec.Builder addAllFilePatterns(Iterable<String> values)
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
This builder for chaining. |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.datacatalog.v1beta1.GcsFileSpec> |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
addFilePatterns(String value)
public GcsFilesetSpec.Builder addFilePatterns(String value)
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
This builder for chaining. |
addFilePatternsBytes(ByteString value)
public GcsFilesetSpec.Builder addFilePatternsBytes(ByteString value)
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
GcsFileSpec |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
GcsFileSpec.Builder |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
GcsFileSpec |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
GcsFileSpec.Builder |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcsFileSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcsFileSpec.Builder |
build()
public GcsFilesetSpec build()
Returns | |
---|---|
Type | Description |
GcsFilesetSpec |
buildPartial()
public GcsFilesetSpec buildPartial()
Returns | |
---|---|
Type | Description |
GcsFilesetSpec |
clear()
public GcsFilesetSpec.Builder clear()
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcsFilesetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
clearFilePatterns()
public GcsFilesetSpec.Builder clearFilePatterns()
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsFilesetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
clone()
public GcsFilesetSpec.Builder clone()
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
getDefaultInstanceForType()
public GcsFilesetSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GcsFilesetSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilePatterns(int index)
public String getFilePatterns(int index)
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the filePatterns. |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcsFileSpec |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcsFileSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
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.v1beta1.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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<GcsFileSpec> |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcsFileSpecOrBuilder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GcsFilesetSpec other)
public GcsFilesetSpec.Builder mergeFrom(GcsFilesetSpec other)
Parameter | |
---|---|
Name | Description |
other |
GcsFilesetSpec |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsFilesetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GcsFilesetSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory.gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories.gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, 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. |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsFilesetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
GcsFileSpec |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
GcsFileSpec.Builder |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcsFilesetSpec.Builder |