public static final class StorageProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder> implements StoragePropertiesOrBuilder
Details the properties of the underlying storage.Protobuf type
google.cloud.datacatalog.v1.StorageProperties| Modifier and Type | Method and Description |
|---|---|
StorageProperties.Builder |
addAllFilePattern(Iterable<String> values)
Patterns to identify a set of files for this fileset.
|
StorageProperties.Builder |
addFilePattern(String value)
Patterns to identify a set of files for this fileset.
|
StorageProperties.Builder |
addFilePatternBytes(com.google.protobuf.ByteString value)
Patterns to identify a set of files for this fileset.
|
StorageProperties.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StorageProperties |
build() |
StorageProperties |
buildPartial() |
StorageProperties.Builder |
clear() |
StorageProperties.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StorageProperties.Builder |
clearFilePattern()
Patterns to identify a set of files for this fileset.
|
StorageProperties.Builder |
clearFileType()
File type in MIME format, for example, `text/plain`.
|
StorageProperties.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StorageProperties.Builder |
clone() |
StorageProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilePattern(int index)
Patterns to identify a set of files for this fileset.
|
com.google.protobuf.ByteString |
getFilePatternBytes(int index)
Patterns to identify a set of files for this fileset.
|
int |
getFilePatternCount()
Patterns to identify a set of files for this fileset.
|
com.google.protobuf.ProtocolStringList |
getFilePatternList()
Patterns to identify a set of files for this fileset.
|
String |
getFileType()
File type in MIME format, for example, `text/plain`.
|
com.google.protobuf.ByteString |
getFileTypeBytes()
File type in MIME format, for example, `text/plain`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StorageProperties.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StorageProperties.Builder |
mergeFrom(com.google.protobuf.Message other) |
StorageProperties.Builder |
mergeFrom(StorageProperties other) |
StorageProperties.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StorageProperties.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StorageProperties.Builder |
setFilePattern(int index,
String value)
Patterns to identify a set of files for this fileset.
|
StorageProperties.Builder |
setFileType(String value)
File type in MIME format, for example, `text/plain`.
|
StorageProperties.Builder |
setFileTypeBytes(com.google.protobuf.ByteString value)
File type in MIME format, for example, `text/plain`.
|
StorageProperties.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StorageProperties.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StorageProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StorageProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StorageProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StorageProperties.Builder>public StorageProperties.Builder mergeFrom(StorageProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public StorageProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StorageProperties.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getFilePatternList()
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;getFilePatternList in interface StoragePropertiesOrBuilderpublic int getFilePatternCount()
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;getFilePatternCount in interface StoragePropertiesOrBuilderpublic String getFilePattern(int index)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;getFilePattern in interface StoragePropertiesOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFilePatternBytes(int index)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;getFilePatternBytes in interface StoragePropertiesOrBuilderindex - The index of the value to return.public StorageProperties.Builder setFilePattern(int index, String value)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;index - The index to set the value at.value - The filePattern to set.public StorageProperties.Builder addFilePattern(String value)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;value - The filePattern to add.public StorageProperties.Builder addAllFilePattern(Iterable<String> values)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;values - The filePattern to add.public StorageProperties.Builder clearFilePattern()
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;public StorageProperties.Builder addFilePatternBytes(com.google.protobuf.ByteString value)
Patterns to identify a set of files for this fileset.
Examples of a valid `file_pattern`:
* `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
directory
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
and all subdirectories recursively
* `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`
repeated string file_pattern = 1;value - The bytes of the filePattern to add.public String getFileType()
File type in MIME format, for example, `text/plain`.
string file_type = 2;getFileType in interface StoragePropertiesOrBuilderpublic com.google.protobuf.ByteString getFileTypeBytes()
File type in MIME format, for example, `text/plain`.
string file_type = 2;getFileTypeBytes in interface StoragePropertiesOrBuilderpublic StorageProperties.Builder setFileType(String value)
File type in MIME format, for example, `text/plain`.
string file_type = 2;value - The fileType to set.public StorageProperties.Builder clearFileType()
File type in MIME format, for example, `text/plain`.
string file_type = 2;public StorageProperties.Builder setFileTypeBytes(com.google.protobuf.ByteString value)
File type in MIME format, for example, `text/plain`.
string file_type = 2;value - The bytes for fileType to set.public final StorageProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>public final StorageProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageProperties.Builder>Copyright © 2023 Google LLC. All rights reserved.