public final class GcsFilesetSpec extends com.google.protobuf.GeneratedMessageV3 implements GcsFilesetSpecOrBuilder
Describes a Cloud Storage fileset entry.Protobuf type
google.cloud.datacatalog.v1beta1.GcsFilesetSpec| Modifier and Type | Class and Description |
|---|---|
static class |
GcsFilesetSpec.Builder
Describes a Cloud Storage fileset entry.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_PATTERNS_FIELD_NUMBER |
static int |
SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GcsFilesetSpec |
getDefaultInstance() |
GcsFilesetSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilePatterns(int index)
Required.
|
com.google.protobuf.ByteString |
getFilePatternsBytes(int index)
Required.
|
int |
getFilePatternsCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getFilePatternsList()
Required.
|
com.google.protobuf.Parser<GcsFilesetSpec> |
getParserForType() |
GcsFileSpec |
getSampleGcsFileSpecs(int index)
Output only.
|
int |
getSampleGcsFileSpecsCount()
Output only.
|
List<GcsFileSpec> |
getSampleGcsFileSpecsList()
Output only.
|
GcsFileSpecOrBuilder |
getSampleGcsFileSpecsOrBuilder(int index)
Output only.
|
List<? extends GcsFileSpecOrBuilder> |
getSampleGcsFileSpecsOrBuilderList()
Output only.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GcsFilesetSpec.Builder |
newBuilder() |
static GcsFilesetSpec.Builder |
newBuilder(GcsFilesetSpec prototype) |
GcsFilesetSpec.Builder |
newBuilderForType() |
protected GcsFilesetSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GcsFilesetSpec |
parseDelimitedFrom(InputStream input) |
static GcsFilesetSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsFilesetSpec |
parseFrom(byte[] data) |
static GcsFilesetSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsFilesetSpec |
parseFrom(ByteBuffer data) |
static GcsFilesetSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsFilesetSpec |
parseFrom(com.google.protobuf.ByteString data) |
static GcsFilesetSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsFilesetSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GcsFilesetSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsFilesetSpec |
parseFrom(InputStream input) |
static GcsFilesetSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GcsFilesetSpec> |
parser() |
GcsFilesetSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FILE_PATTERNS_FIELD_NUMBER
public static final int SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getFilePatternsList()
Required. Patterns to identify a set of files in Google Cloud Storage.
See [Cloud Storage
documentation](https://cloud.google.com/storage/docs/wildcards)
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];getFilePatternsList in interface GcsFilesetSpecOrBuilderpublic int getFilePatternsCount()
Required. Patterns to identify a set of files in Google Cloud Storage.
See [Cloud Storage
documentation](https://cloud.google.com/storage/docs/wildcards)
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];getFilePatternsCount in interface GcsFilesetSpecOrBuilderpublic String getFilePatterns(int index)
Required. Patterns to identify a set of files in Google Cloud Storage.
See [Cloud Storage
documentation](https://cloud.google.com/storage/docs/wildcards)
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];getFilePatterns in interface GcsFilesetSpecOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFilePatternsBytes(int index)
Required. Patterns to identify a set of files in Google Cloud Storage.
See [Cloud Storage
documentation](https://cloud.google.com/storage/docs/wildcards)
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];getFilePatternsBytes in interface GcsFilesetSpecOrBuilderindex - The index of the value to return.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];
getSampleGcsFileSpecsList in interface GcsFilesetSpecOrBuilderpublic 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];
getSampleGcsFileSpecsOrBuilderList in interface GcsFilesetSpecOrBuilderpublic 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];
getSampleGcsFileSpecsCount in interface GcsFilesetSpecOrBuilderpublic 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];
getSampleGcsFileSpecs in interface GcsFilesetSpecOrBuilderpublic 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];
getSampleGcsFileSpecsOrBuilder in interface GcsFilesetSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GcsFilesetSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsFilesetSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static GcsFilesetSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GcsFilesetSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GcsFilesetSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GcsFilesetSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GcsFilesetSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GcsFilesetSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GcsFilesetSpec.Builder newBuilder()
public static GcsFilesetSpec.Builder newBuilder(GcsFilesetSpec prototype)
public GcsFilesetSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GcsFilesetSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GcsFilesetSpec getDefaultInstance()
public static com.google.protobuf.Parser<GcsFilesetSpec> parser()
public com.google.protobuf.Parser<GcsFilesetSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GcsFilesetSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.