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
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()
Returns
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 provide more powerful matches, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public GcsFilesetSpec build()
Returns
buildPartial()
public GcsFilesetSpec buildPartial()
Returns
clear()
public GcsFilesetSpec.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsFilesetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 provide more powerful matches, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsFilesetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public GcsFilesetSpec.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcsFilesetSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 provide more powerful matches, for example:
gs://bucket_name/[a-m]??.j*g
repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcsFilesetSpec other)
public GcsFilesetSpec.Builder mergeFrom(GcsFilesetSpec other)
Parameter
Returns
public GcsFilesetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcsFilesetSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GcsFilesetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
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 within bucket_name/dir
directory.
gs://bucket_name/dir/**
: matches all files in bucket_name/dir
spanning 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
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 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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsFilesetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsFilesetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides