/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/metadata.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dataplex.v1;
public interface StorageFormatOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
*
* @return The enum numeric value on the wire for format.
*/
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];
*
*
* @return The format.
*/
com.google.cloud.dataplex.v1.StorageFormat.Format getFormat();
/**
*
*
*
* 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];
*
*
* @return The enum numeric value on the wire for compressionFormat.
*/
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];
*
*
* @return The compressionFormat.
*/
com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat();
/**
*
*
*
* 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];
*
* @return The mimeType.
*/
java.lang.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];
*
* @return The bytes for mimeType.
*/
com.google.protobuf.ByteString getMimeTypeBytes();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the csv field is set.
*/
boolean hasCsv();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The csv.
*/
com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the json field is set.
*/
boolean hasJson();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The json.
*/
com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson();
/**
*
*
*
* Optional. Additional information about CSV formatted data.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder();
/**
*
*
*
* Optional. Additional information about iceberg tables.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the iceberg field is set.
*/
boolean hasIceberg();
/**
*
*
*
* Optional. Additional information about iceberg tables.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The iceberg.
*/
com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg();
/**
*
*
*
* Optional. Additional information about iceberg tables.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder();
com.google.cloud.dataplex.v1.StorageFormat.OptionsCase getOptionsCase();
}