Interface GcsFilesetSpecOrBuilder (1.49.0)

public interface GcsFilesetSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilePatterns(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> 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];

Returns
Type Description
List<String>

A list containing the filePatterns.

getSampleGcsFileSpecs(int index)

public abstract 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
Returns
Type Description
GcsFileSpec

getSampleGcsFileSpecsCount()

public abstract 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 abstract 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];

Returns
Type Description
List<GcsFileSpec>

getSampleGcsFileSpecsOrBuilder(int index)

public abstract 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
Returns
Type Description
GcsFileSpecOrBuilder

getSampleGcsFileSpecsOrBuilderList()

public abstract 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>