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
Static Fields
AVRO_FIELD_NUMBER
public static final int AVRO_FIELD_NUMBER
Field Value
CSV_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER
Field Value
ORC_FIELD_NUMBER
public static final int ORC_FIELD_NUMBER
Field Value
PARQUET_FIELD_NUMBER
public static final int PARQUET_FIELD_NUMBER
Field Value
PROTOBUF_FIELD_NUMBER
public static final int PROTOBUF_FIELD_NUMBER
Field Value
THRIFT_FIELD_NUMBER
public static final int THRIFT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PhysicalSchema getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PhysicalSchema.Builder newBuilder()
Returns
newBuilder(PhysicalSchema prototype)
public static PhysicalSchema.Builder newBuilder(PhysicalSchema prototype)
Parameter
Returns
public static PhysicalSchema parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PhysicalSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PhysicalSchema parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PhysicalSchema parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhysicalSchema parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PhysicalSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhysicalSchema parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PhysicalSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PhysicalSchema parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PhysicalSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PhysicalSchema> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAvro()
public PhysicalSchema.AvroSchema getAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
Returns
getAvroOrBuilder()
public PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
Returns
getCsv()
public PhysicalSchema.CsvSchema getCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
Returns
getCsvOrBuilder()
public PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
Returns
getDefaultInstanceForType()
public PhysicalSchema getDefaultInstanceForType()
Returns
getOrc()
public PhysicalSchema.OrcSchema getOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
Returns
getOrcOrBuilder()
public PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
Returns
getParquet()
public PhysicalSchema.ParquetSchema getParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
Returns
getParquetOrBuilder()
public PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
Returns
getParserForType()
public Parser<PhysicalSchema> getParserForType()
Returns
Overrides
getProtobuf()
public PhysicalSchema.ProtobufSchema getProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
Returns
getProtobufOrBuilder()
public PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
Returns
getSchemaCase()
public PhysicalSchema.SchemaCase getSchemaCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getThrift()
public PhysicalSchema.ThriftSchema getThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
Returns
getThriftOrBuilder()
public PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PhysicalSchema.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PhysicalSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PhysicalSchema.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions