Send feedback
Class StorageFormat (1.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.0 keyboard_arrow_down
public final class StorageFormat extends GeneratedMessageV3 implements StorageFormatOrBuilder
Describes the format of the data within its storage location.
Protobuf type google.cloud.dataplex.v1.StorageFormat
Static Fields
public static final int COMPRESSION_FORMAT_FIELD_NUMBER
Field Value
public static final int CSV_FIELD_NUMBER
Field Value
public static final int FORMAT_FIELD_NUMBER
Field Value
public static final int ICEBERG_FIELD_NUMBER
Field Value
public static final int JSON_FIELD_NUMBER
Field Value
public static final int MIME_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static StorageFormat getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static StorageFormat . Builder newBuilder ()
Returns
public static StorageFormat . Builder newBuilder ( StorageFormat prototype )
Parameter
Returns
public static StorageFormat parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StorageFormat parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StorageFormat parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
public static StorageFormat parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StorageFormat parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static StorageFormat parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StorageFormat parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static StorageFormat parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StorageFormat parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StorageFormat parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StorageFormat parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static StorageFormat parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<StorageFormat> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
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];
Returns
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];
Returns
Type Description int
The enum numeric value on the wire for compressionFormat.
public StorageFormat . CsvOptions getCsv ()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
public StorageFormat . CsvOptionsOrBuilder getCsvOrBuilder ()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
public StorageFormat getDefaultInstanceForType ()
Returns
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];
Returns
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];
Returns
Type Description int
The enum numeric value on the wire for format.
public StorageFormat . IcebergOptions getIceberg ()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
public StorageFormat . IcebergOptionsOrBuilder getIcebergOrBuilder ()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
public StorageFormat . JsonOptions getJson ()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
public StorageFormat . JsonOptionsOrBuilder getJsonOrBuilder ()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
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];
Returns
Type Description String
The mimeType.
public 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
public StorageFormat . OptionsCase getOptionsCase ()
Returns
public Parser<StorageFormat> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean
Whether the csv field is set.
public boolean hasIceberg ()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean
Whether the iceberg field is set.
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean
Whether the json field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public StorageFormat . Builder newBuilderForType ()
Returns
protected StorageFormat . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public StorageFormat . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]