Package com.google.cloud.dataplex.v1
Class StorageFormat
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.StorageFormat
-
- All Implemented Interfaces:
StorageFormatOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class StorageFormat extends com.google.protobuf.GeneratedMessageV3 implements StorageFormatOrBuilder
Describes the format of the data within its storage location.
Protobuf typegoogle.cloud.dataplex.v1.StorageFormat
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StorageFormat.Builder
Describes the format of the data within its storage location.static class
StorageFormat.CompressionFormat
The specific compressed file format of the data.static class
StorageFormat.CsvOptions
Describes CSV and similar semi-structured data formats.static interface
StorageFormat.CsvOptionsOrBuilder
static class
StorageFormat.Format
The specific file format of the data.static class
StorageFormat.IcebergOptions
Describes Iceberg data format.static interface
StorageFormat.IcebergOptionsOrBuilder
static class
StorageFormat.JsonOptions
Describes JSON data format.static interface
StorageFormat.JsonOptionsOrBuilder
static class
StorageFormat.OptionsCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMPRESSION_FORMAT_FIELD_NUMBER
static int
CSV_FIELD_NUMBER
static int
FORMAT_FIELD_NUMBER
static int
ICEBERG_FIELD_NUMBER
static int
JSON_FIELD_NUMBER
static int
MIME_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
StorageFormat.CompressionFormat
getCompressionFormat()
Optional.int
getCompressionFormatValue()
Optional.StorageFormat.CsvOptions
getCsv()
Optional.StorageFormat.CsvOptionsOrBuilder
getCsvOrBuilder()
Optional.static StorageFormat
getDefaultInstance()
StorageFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
StorageFormat.Format
getFormat()
Output only.int
getFormatValue()
Output only.StorageFormat.IcebergOptions
getIceberg()
Optional.StorageFormat.IcebergOptionsOrBuilder
getIcebergOrBuilder()
Optional.StorageFormat.JsonOptions
getJson()
Optional.StorageFormat.JsonOptionsOrBuilder
getJsonOrBuilder()
Optional.String
getMimeType()
Required.com.google.protobuf.ByteString
getMimeTypeBytes()
Required.StorageFormat.OptionsCase
getOptionsCase()
com.google.protobuf.Parser<StorageFormat>
getParserForType()
int
getSerializedSize()
boolean
hasCsv()
Optional.int
hashCode()
boolean
hasIceberg()
Optional.boolean
hasJson()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static StorageFormat.Builder
newBuilder()
static StorageFormat.Builder
newBuilder(StorageFormat prototype)
StorageFormat.Builder
newBuilderForType()
protected StorageFormat.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static StorageFormat
parseDelimitedFrom(InputStream input)
static StorageFormat
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StorageFormat
parseFrom(byte[] data)
static StorageFormat
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StorageFormat
parseFrom(com.google.protobuf.ByteString data)
static StorageFormat
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StorageFormat
parseFrom(com.google.protobuf.CodedInputStream input)
static StorageFormat
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StorageFormat
parseFrom(InputStream input)
static StorageFormat
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StorageFormat
parseFrom(ByteBuffer data)
static StorageFormat
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<StorageFormat>
parser()
StorageFormat.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_FIELD_NUMBER
public static final int COMPRESSION_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSV_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JSON_FIELD_NUMBER
public static final int JSON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ICEBERG_FIELD_NUMBER
public static final int ICEBERG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getOptionsCase
public StorageFormat.OptionsCase getOptionsCase()
- Specified by:
getOptionsCase
in interfaceStorageFormatOrBuilder
-
getFormatValue
public int getFormatValue()
Output only. The data format associated with the stored data, which represents content type values. The value is inferred from mime type.
.google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFormatValue
in interfaceStorageFormatOrBuilder
- Returns:
- The enum numeric value on the wire for format.
-
getFormat
public StorageFormat.Format getFormat()
Output only. The data format associated with the stored data, which represents content type values. The value is inferred from mime type.
.google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFormat
in interfaceStorageFormatOrBuilder
- Returns:
- The format.
-
getCompressionFormatValue
public int getCompressionFormatValue()
Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
.google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCompressionFormatValue
in interfaceStorageFormatOrBuilder
- Returns:
- The enum numeric value on the wire for compressionFormat.
-
getCompressionFormat
public StorageFormat.CompressionFormat getCompressionFormat()
Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
.google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCompressionFormat
in interfaceStorageFormatOrBuilder
- Returns:
- The compressionFormat.
-
getMimeType
public String getMimeType()
Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values: - application/x-parquet - application/x-avro - application/x-orc - application/x-tfrecord - application/x-parquet+iceberg - application/x-avro+iceberg - application/x-orc+iceberg - application/json - application/{subtypes} - text/csv - text/<subtypes> - image/{image subtype} - video/{video subtype} - audio/{audio subtype}
string mime_type = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMimeType
in interfaceStorageFormatOrBuilder
- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()
Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values: - application/x-parquet - application/x-avro - application/x-orc - application/x-tfrecord - application/x-parquet+iceberg - application/x-avro+iceberg - application/x-orc+iceberg - application/json - application/{subtypes} - text/csv - text/<subtypes> - image/{image subtype} - video/{video subtype} - audio/{audio subtype}
string mime_type = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMimeTypeBytes
in interfaceStorageFormatOrBuilder
- Returns:
- The bytes for mimeType.
-
hasCsv
public boolean hasCsv()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasCsv
in interfaceStorageFormatOrBuilder
- Returns:
- Whether the csv field is set.
-
getCsv
public StorageFormat.CsvOptions getCsv()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCsv
in interfaceStorageFormatOrBuilder
- Returns:
- The csv.
-
getCsvOrBuilder
public StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCsvOrBuilder
in interfaceStorageFormatOrBuilder
-
hasJson
public boolean hasJson()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasJson
in interfaceStorageFormatOrBuilder
- Returns:
- Whether the json field is set.
-
getJson
public StorageFormat.JsonOptions getJson()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getJson
in interfaceStorageFormatOrBuilder
- Returns:
- The json.
-
getJsonOrBuilder
public StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getJsonOrBuilder
in interfaceStorageFormatOrBuilder
-
hasIceberg
public boolean hasIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasIceberg
in interfaceStorageFormatOrBuilder
- Returns:
- Whether the iceberg field is set.
-
getIceberg
public StorageFormat.IcebergOptions getIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIceberg
in interfaceStorageFormatOrBuilder
- Returns:
- The iceberg.
-
getIcebergOrBuilder
public StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIcebergOrBuilder
in interfaceStorageFormatOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StorageFormat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StorageFormat parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StorageFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StorageFormat parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StorageFormat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StorageFormat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StorageFormat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StorageFormat.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StorageFormat.Builder newBuilder()
-
newBuilder
public static StorageFormat.Builder newBuilder(StorageFormat prototype)
-
toBuilder
public StorageFormat.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StorageFormat.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StorageFormat getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StorageFormat> parser()
-
getParserForType
public com.google.protobuf.Parser<StorageFormat> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StorageFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-