- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class StorageFormat.Builder extends GeneratedMessageV3.Builder<StorageFormat.Builder> implements StorageFormatOrBuilder
Describes the format of the data within its storage location.
Protobuf type google.cloud.dataplex.v1.StorageFormat
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageFormat.BuilderImplements
StorageFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
build()
public StorageFormat build()
Returns | |
---|---|
Type | Description |
StorageFormat |
buildPartial()
public StorageFormat buildPartial()
Returns | |
---|---|
Type | Description |
StorageFormat |
clear()
public StorageFormat.Builder clear()
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearCompressionFormat()
public StorageFormat.Builder clearCompressionFormat()
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 |
StorageFormat.Builder | This builder for chaining. |
clearCsv()
public StorageFormat.Builder clearCsv()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearField(Descriptors.FieldDescriptor field)
public StorageFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearFormat()
public StorageFormat.Builder clearFormat()
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 |
StorageFormat.Builder | This builder for chaining. |
clearIceberg()
public StorageFormat.Builder clearIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearJson()
public StorageFormat.Builder clearJson()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearMimeType()
public StorageFormat.Builder clearMimeType()
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 |
StorageFormat.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clearOptions()
public StorageFormat.Builder clearOptions()
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
clone()
public StorageFormat.Builder clone()
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.CompressionFormat | The compressionFormat. |
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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for compressionFormat. |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.CsvOptions | The csv. |
getCsvBuilder()
public StorageFormat.CsvOptions.Builder getCsvBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.CsvOptions.Builder |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.CsvOptionsOrBuilder |
getDefaultInstanceForType()
public StorageFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StorageFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.Format | The format. |
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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for format. |
getIceberg()
public StorageFormat.IcebergOptions getIceberg()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.IcebergOptions | The iceberg. |
getIcebergBuilder()
public StorageFormat.IcebergOptions.Builder getIcebergBuilder()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.IcebergOptions.Builder |
getIcebergOrBuilder()
public StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder()
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.IcebergOptionsOrBuilder |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.JsonOptions | The json. |
getJsonBuilder()
public StorageFormat.JsonOptions.Builder getJsonBuilder()
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StorageFormat.JsonOptions.Builder |
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];
Returns | |
---|---|
Type | Description |
StorageFormat.JsonOptionsOrBuilder |
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];
Returns | |
---|---|
Type | Description |
String | The mimeType. |
getMimeTypeBytes()
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 | |
---|---|
Type | Description |
ByteString | The bytes for mimeType. |
getOptionsCase()
public StorageFormat.OptionsCase getOptionsCase()
Returns | |
---|---|
Type | Description |
StorageFormat.OptionsCase |
hasCsv()
public boolean hasCsv()
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. |
hasIceberg()
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. |
hasJson()
public boolean hasJson()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCsv(StorageFormat.CsvOptions value)
public StorageFormat.Builder mergeCsv(StorageFormat.CsvOptions value)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.CsvOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
mergeFrom(StorageFormat other)
public StorageFormat.Builder mergeFrom(StorageFormat other)
Parameter | |
---|---|
Name | Description |
other | StorageFormat |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StorageFormat.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
mergeIceberg(StorageFormat.IcebergOptions value)
public StorageFormat.Builder mergeIceberg(StorageFormat.IcebergOptions value)
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.IcebergOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
mergeJson(StorageFormat.JsonOptions value)
public StorageFormat.Builder mergeJson(StorageFormat.JsonOptions value)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.JsonOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setCompressionFormat(StorageFormat.CompressionFormat value)
public StorageFormat.Builder setCompressionFormat(StorageFormat.CompressionFormat value)
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];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.CompressionFormat The compressionFormat to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setCompressionFormatValue(int value)
public StorageFormat.Builder setCompressionFormatValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for compressionFormat to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setCsv(StorageFormat.CsvOptions value)
public StorageFormat.Builder setCsv(StorageFormat.CsvOptions value)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.CsvOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setCsv(StorageFormat.CsvOptions.Builder builderForValue)
public StorageFormat.Builder setCsv(StorageFormat.CsvOptions.Builder builderForValue)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | StorageFormat.CsvOptions.Builder |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setFormat(StorageFormat.Format value)
public StorageFormat.Builder setFormat(StorageFormat.Format value)
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];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.Format The format to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setFormatValue(int value)
public StorageFormat.Builder setFormatValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for format to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setIceberg(StorageFormat.IcebergOptions value)
public StorageFormat.Builder setIceberg(StorageFormat.IcebergOptions value)
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.IcebergOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setIceberg(StorageFormat.IcebergOptions.Builder builderForValue)
public StorageFormat.Builder setIceberg(StorageFormat.IcebergOptions.Builder builderForValue)
Optional. Additional information about iceberg tables.
.google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | StorageFormat.IcebergOptions.Builder |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setJson(StorageFormat.JsonOptions value)
public StorageFormat.Builder setJson(StorageFormat.JsonOptions value)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | StorageFormat.JsonOptions |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setJson(StorageFormat.JsonOptions.Builder builderForValue)
public StorageFormat.Builder setJson(StorageFormat.JsonOptions.Builder builderForValue)
Optional. Additional information about CSV formatted data.
.google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | StorageFormat.JsonOptions.Builder |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setMimeType(String value)
public StorageFormat.Builder setMimeType(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The mimeType to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setMimeTypeBytes(ByteString value)
public StorageFormat.Builder setMimeTypeBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for mimeType to set. |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageFormat.Builder |