Send feedback
Class PhysicalSchema (1.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.49.0 keyboard_arrow_down
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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 )
Returns
Type
Description
Object
Overrides
toBuilder()
public PhysicalSchema . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]