Package com.google.cloud.dataplex.v1
Interface StorageFormatOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StorageFormat
,StorageFormat.Builder
public interface StorageFormatOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageFormat.CompressionFormat
getCompressionFormat()
Optional.int
getCompressionFormatValue()
Optional.StorageFormat.CsvOptions
getCsv()
Optional.StorageFormat.CsvOptionsOrBuilder
getCsvOrBuilder()
Optional.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()
boolean
hasCsv()
Optional.boolean
hasIceberg()
Optional.boolean
hasJson()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFormatValue
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];
- Returns:
- The enum numeric value on the wire for format.
-
getFormat
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];
- Returns:
- The format.
-
getCompressionFormatValue
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];
- Returns:
- The enum numeric value on the wire for compressionFormat.
-
getCompressionFormat
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];
- Returns:
- The compressionFormat.
-
getMimeType
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];
- Returns:
- The mimeType.
-
getMimeTypeBytes
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];
- Returns:
- The bytes for mimeType.
-
hasCsv
boolean hasCsv()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the csv field is set.
-
getCsv
StorageFormat.CsvOptions getCsv()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The csv.
-
getCsvOrBuilder
StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
-
hasJson
boolean hasJson()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the json field is set.
-
getJson
StorageFormat.JsonOptions getJson()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The json.
-
getJsonOrBuilder
StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
-
hasIceberg
boolean hasIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the iceberg field is set.
-
getIceberg
StorageFormat.IcebergOptions getIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The iceberg.
-
getIcebergOrBuilder
StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getOptionsCase
StorageFormat.OptionsCase getOptionsCase()
-
-