- 1.58.0 (latest)
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public final class StorageProperties extends GeneratedMessageV3 implements StoragePropertiesOrBuilder
Details the properties of the underlying storage.
Protobuf type google.cloud.datacatalog.v1.StorageProperties
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StoragePropertiesImplements
StoragePropertiesOrBuilderStatic Fields
FILE_PATTERN_FIELD_NUMBER
public static final int FILE_PATTERN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_TYPE_FIELD_NUMBER
public static final int FILE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StorageProperties getDefaultInstance()
Returns | |
---|---|
Type | Description |
StorageProperties |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static StorageProperties.Builder newBuilder()
Returns | |
---|---|
Type | Description |
StorageProperties.Builder |
newBuilder(StorageProperties prototype)
public static StorageProperties.Builder newBuilder(StorageProperties prototype)
Parameter | |
---|---|
Name | Description |
prototype |
StorageProperties |
Returns | |
---|---|
Type | Description |
StorageProperties.Builder |
parseDelimitedFrom(InputStream input)
public static StorageProperties parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static StorageProperties parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StorageProperties parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StorageProperties parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static StorageProperties parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StorageProperties parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageProperties |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StorageProperties> parser()
Returns | |
---|---|
Type | Description |
Parser<StorageProperties> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public StorageProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StorageProperties |
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/dir
directorygs://bucket_name/dir/**
: matches all files in thebucket_name/dir
and all subdirectories recursivelygs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that match thea/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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/dir
directorygs://bucket_name/dir/**
: matches all files in thebucket_name/dir
and all subdirectories recursivelygs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that match thea/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
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/dir
directorygs://bucket_name/dir/**
: matches all files in thebucket_name/dir
and all subdirectories recursivelygs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that match thea/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
Returns | |
---|---|
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/dir
directorygs://bucket_name/dir/**
: matches all files in thebucket_name/dir
and all subdirectories recursivelygs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
gs://bucket_name/a/*/b
: matches all files inbucket_name
that match thea/*/b
pattern, such asa/c/b
,a/d/b
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
repeated string file_pattern = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String |
The fileType. |
getFileTypeBytes()
public ByteString getFileTypeBytes()
File type in MIME format, for example, text/plain
.
string file_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fileType. |
getParserForType()
public Parser<StorageProperties> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<StorageProperties> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public StorageProperties.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
StorageProperties.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
StorageProperties.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public StorageProperties.Builder toBuilder()
Returns | |
---|---|
Type | Description |
StorageProperties.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |