public static final class StorageFormat.Builder extends GeneratedMessageV3.Builder<StorageFormat.Builder> implements StorageFormatOrBuilderDescribes 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()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| StorageFormat.Builder |
build()
public StorageFormat build()| Type | Description |
| StorageFormat |
buildPartial()
public StorageFormat buildPartial()| Type | Description |
| StorageFormat |
clear()
public StorageFormat.Builder clear()| 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];
| 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];
| Type | Description |
| StorageFormat.Builder |
clearField(Descriptors.FieldDescriptor field)
public StorageFormat.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| 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];
| Type | Description |
| StorageFormat.Builder | This builder for chaining. |
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];
| 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/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];
| Type | Description |
| StorageFormat.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| StorageFormat.Builder |
clearOptions()
public StorageFormat.Builder clearOptions()| Type | Description |
| StorageFormat.Builder |
clone()
public StorageFormat.Builder clone()| 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];
| 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];
| 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];
| 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];
| 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];
| Type | Description |
| StorageFormat.CsvOptionsOrBuilder |
getDefaultInstanceForType()
public StorageFormat getDefaultInstanceForType()| Type | Description |
| StorageFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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];
| 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];
| Type | Description |
| int | The enum numeric value on the wire for format. |
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];
| 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];
| 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];
| 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/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];
| 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/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];
| Type | Description |
| ByteString | The bytes for mimeType. |
getOptionsCase()
public StorageFormat.OptionsCase getOptionsCase()| 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];
| Type | Description |
| boolean | Whether the csv 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];
| Type | Description |
| boolean | Whether the json field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| 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];
| Name | Description |
| value | StorageFormat.CsvOptions |
| Type | Description |
| StorageFormat.Builder |
mergeFrom(StorageFormat other)
public StorageFormat.Builder mergeFrom(StorageFormat other)| Name | Description |
| other | StorageFormat |
| Type | Description |
| StorageFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| StorageFormat.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public StorageFormat.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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];
| Name | Description |
| value | StorageFormat.JsonOptions |
| Type | Description |
| StorageFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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];
| Name | Description |
| value | StorageFormat.CompressionFormatThe compressionFormat to set. |
| 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];
| Name | Description |
| value | intThe enum numeric value on the wire for compressionFormat to set. |
| 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];
| Name | Description |
| value | StorageFormat.CsvOptions |
| 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];
| Name | Description |
| builderForValue | StorageFormat.CsvOptions.Builder |
| Type | Description |
| StorageFormat.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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];
| Name | Description |
| value | StorageFormat.FormatThe format to set. |
| 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];
| Name | Description |
| value | intThe enum numeric value on the wire for format to set. |
| Type | Description |
| StorageFormat.Builder | This builder for chaining. |
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];
| Name | Description |
| value | StorageFormat.JsonOptions |
| 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];
| Name | Description |
| builderForValue | StorageFormat.JsonOptions.Builder |
| 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/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];
| Name | Description |
| value | StringThe mimeType to set. |
| 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/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];
| Name | Description |
| value | ByteStringThe bytes for mimeType to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| StorageFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| StorageFormat.Builder |