public static final class StorageProperties.Builder extends GeneratedMessageV3.Builder<StorageProperties.Builder> implements StoragePropertiesOrBuilderDetails the properties of the underlying storage.
Protobuf type google.cloud.datacatalog.v1.StorageProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageProperties.BuilderImplements
StoragePropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllFilePattern(Iterable<String> values)
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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| values | Iterable<String>The filePattern to add. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
addFilePattern(String value)
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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| value | StringThe filePattern to add. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
addFilePatternBytes(ByteString value)
public StorageProperties.Builder addFilePatternBytes(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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| value | ByteStringThe bytes of the filePattern to add. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| StorageProperties.Builder |
build()
public StorageProperties build()| Type | Description |
| StorageProperties |
buildPartial()
public StorageProperties buildPartial()| Type | Description |
| StorageProperties |
clear()
public StorageProperties.Builder clear()| Type | Description |
| StorageProperties.Builder |
clearField(Descriptors.FieldDescriptor field)
public StorageProperties.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| StorageProperties.Builder |
clearFilePattern()
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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
clearFileType()
public StorageProperties.Builder clearFileType() File type in MIME format, for example, text/plain.
string file_type = 2;
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| StorageProperties.Builder |
clone()
public StorageProperties.Builder clone()| Type | Description |
| StorageProperties.Builder |
getDefaultInstanceForType()
public StorageProperties getDefaultInstanceForType()| Type | Description |
| StorageProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getFilePattern(int index)
public 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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The filePattern at the given index. |
getFilePatternBytes(int index)
public 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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the filePattern at the given index. |
getFilePatternCount()
public 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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Type | Description |
| int | The count of filePattern. |
getFilePatternList()
public 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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Type | Description |
| ProtocolStringList | A list containing the filePattern. |
getFileType()
public String getFileType() File type in MIME format, for example, text/plain.
string file_type = 2;
| Type | Description |
| String | The fileType. |
getFileTypeBytes()
public ByteString getFileTypeBytes() File type in MIME format, for example, text/plain.
string file_type = 2;
| Type | Description |
| ByteString | The bytes for fileType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(StorageProperties other)
public StorageProperties.Builder mergeFrom(StorageProperties other)| Name | Description |
| other | StorageProperties |
| Type | Description |
| StorageProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| StorageProperties.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public StorageProperties.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| StorageProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| StorageProperties.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| StorageProperties.Builder |
setFilePattern(int index, String value)
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 thebucket_name/dirdirectorygs://bucket_name/dir/**: matches all files in thebucket_name/dirand all subdirectories recursivelygs://bucket_name/file*: matches files prefixed byfileinbucket_namegs://bucket_name/??.txt: matches files with two characters followed by.txtinbucket_namegs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by.txtinbucket_namegs://bucket_name/[a-m].txt: matches files that containa,b, ... ormfollowed by.txtinbucket_namegs://bucket_name/a/*/b: matches all files inbucket_namethat match thea/*/bpattern, such asa/c/b,a/d/bgs://another_bucket/a.txt: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe filePattern to set. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
setFileType(String value)
public StorageProperties.Builder setFileType(String value) File type in MIME format, for example, text/plain.
string file_type = 2;
| Name | Description |
| value | StringThe fileType to set. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
setFileTypeBytes(ByteString value)
public StorageProperties.Builder setFileTypeBytes(ByteString value) File type in MIME format, for example, text/plain.
string file_type = 2;
| Name | Description |
| value | ByteStringThe bytes for fileType to set. |
| Type | Description |
| StorageProperties.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| StorageProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| StorageProperties.Builder |