public final class PhysicalSchema extends GeneratedMessageV3 implements PhysicalSchemaOrBuilder
Native schema used by a resource represented as an entry. Used by query
engines for deserializing and parsing source data.
Protobuf type google.cloud.datacatalog.v1.PhysicalSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
AVRO_FIELD_NUMBER
public static final int AVRO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CSV_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ORC_FIELD_NUMBER
public static final int ORC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARQUET_FIELD_NUMBER
public static final int PARQUET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROTOBUF_FIELD_NUMBER
public static final int PROTOBUF_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
THRIFT_FIELD_NUMBER
public static final int THRIFT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PhysicalSchema getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PhysicalSchema.Builder newBuilder()
newBuilder(PhysicalSchema prototype)
public static PhysicalSchema.Builder newBuilder(PhysicalSchema prototype)
public static PhysicalSchema parseDelimitedFrom(InputStream input)
public static PhysicalSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PhysicalSchema parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PhysicalSchema parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(CodedInputStream input)
public static PhysicalSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(InputStream input)
public static PhysicalSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PhysicalSchema parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PhysicalSchema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAvro()
public PhysicalSchema.AvroSchema getAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
getAvroOrBuilder()
public PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
getCsv()
public PhysicalSchema.CsvSchema getCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
getCsvOrBuilder()
public PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
getDefaultInstanceForType()
public PhysicalSchema getDefaultInstanceForType()
getOrc()
public PhysicalSchema.OrcSchema getOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
getOrcOrBuilder()
public PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
getParquet()
public PhysicalSchema.ParquetSchema getParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
getParquetOrBuilder()
public PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
getParserForType()
public Parser<PhysicalSchema> getParserForType()
Overrides
getProtobuf()
public PhysicalSchema.ProtobufSchema getProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
getProtobufOrBuilder()
public PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
getSchemaCase()
public PhysicalSchema.SchemaCase getSchemaCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getThrift()
public PhysicalSchema.ThriftSchema getThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
getThriftOrBuilder()
public PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
hasAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
Returns |
---|
Type | Description |
boolean | Whether the avro field is set.
|
hasCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
Returns |
---|
Type | Description |
boolean | Whether the csv field is set.
|
hasOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
Returns |
---|
Type | Description |
boolean | Whether the orc field is set.
|
hasParquet()
public boolean hasParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
Returns |
---|
Type | Description |
boolean | Whether the parquet field is set.
|
hasProtobuf()
public boolean hasProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
Returns |
---|
Type | Description |
boolean | Whether the protobuf field is set.
|
hasThrift()
public boolean hasThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
Returns |
---|
Type | Description |
boolean | Whether the thrift field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PhysicalSchema.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PhysicalSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PhysicalSchema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides