Package com.google.cloud.datacatalog.v1
Class PhysicalSchema
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datacatalog.v1.PhysicalSchema
-
- All Implemented Interfaces:
PhysicalSchemaOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PhysicalSchema extends com.google.protobuf.GeneratedMessageV3 implements PhysicalSchemaOrBuilder
Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.
Protobuf typegoogle.cloud.datacatalog.v1.PhysicalSchema- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhysicalSchema.AvroSchemaSchema in Avro JSON format.static interfacePhysicalSchema.AvroSchemaOrBuilderstatic classPhysicalSchema.BuilderNative schema used by a resource represented as an entry.static classPhysicalSchema.CsvSchemaMarks a CSV-encoded data source.static interfacePhysicalSchema.CsvSchemaOrBuilderstatic classPhysicalSchema.OrcSchemaMarks an ORC-encoded data source.static interfacePhysicalSchema.OrcSchemaOrBuilderstatic classPhysicalSchema.ParquetSchemaMarks a Parquet-encoded data source.static interfacePhysicalSchema.ParquetSchemaOrBuilderstatic classPhysicalSchema.ProtobufSchemaSchema in protocol buffer format.static interfacePhysicalSchema.ProtobufSchemaOrBuilderstatic classPhysicalSchema.SchemaCasestatic classPhysicalSchema.ThriftSchemaSchema in Thrift format.static interfacePhysicalSchema.ThriftSchemaOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAVRO_FIELD_NUMBERstatic intCSV_FIELD_NUMBERstatic intORC_FIELD_NUMBERstatic intPARQUET_FIELD_NUMBERstatic intPROTOBUF_FIELD_NUMBERstatic intTHRIFT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)PhysicalSchema.AvroSchemagetAvro()Schema in Avro JSON format.PhysicalSchema.AvroSchemaOrBuildergetAvroOrBuilder()Schema in Avro JSON format.PhysicalSchema.CsvSchemagetCsv()Marks a CSV-encoded data source.PhysicalSchema.CsvSchemaOrBuildergetCsvOrBuilder()Marks a CSV-encoded data source.static PhysicalSchemagetDefaultInstance()PhysicalSchemagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()PhysicalSchema.OrcSchemagetOrc()Marks an ORC-encoded data source.PhysicalSchema.OrcSchemaOrBuildergetOrcOrBuilder()Marks an ORC-encoded data source.PhysicalSchema.ParquetSchemagetParquet()Marks a Parquet-encoded data source.PhysicalSchema.ParquetSchemaOrBuildergetParquetOrBuilder()Marks a Parquet-encoded data source.com.google.protobuf.Parser<PhysicalSchema>getParserForType()PhysicalSchema.ProtobufSchemagetProtobuf()Schema in protocol buffer format.PhysicalSchema.ProtobufSchemaOrBuildergetProtobufOrBuilder()Schema in protocol buffer format.PhysicalSchema.SchemaCasegetSchemaCase()intgetSerializedSize()PhysicalSchema.ThriftSchemagetThrift()Schema in Thrift format.PhysicalSchema.ThriftSchemaOrBuildergetThriftOrBuilder()Schema in Thrift format.booleanhasAvro()Schema in Avro JSON format.booleanhasCsv()Marks a CSV-encoded data source.inthashCode()booleanhasOrc()Marks an ORC-encoded data source.booleanhasParquet()Marks a Parquet-encoded data source.booleanhasProtobuf()Schema in protocol buffer format.booleanhasThrift()Schema in Thrift format.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PhysicalSchema.BuildernewBuilder()static PhysicalSchema.BuildernewBuilder(PhysicalSchema prototype)PhysicalSchema.BuildernewBuilderForType()protected PhysicalSchema.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PhysicalSchemaparseDelimitedFrom(InputStream input)static PhysicalSchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PhysicalSchemaparseFrom(byte[] data)static PhysicalSchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PhysicalSchemaparseFrom(com.google.protobuf.ByteString data)static PhysicalSchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PhysicalSchemaparseFrom(com.google.protobuf.CodedInputStream input)static PhysicalSchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PhysicalSchemaparseFrom(InputStream input)static PhysicalSchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PhysicalSchemaparseFrom(ByteBuffer data)static PhysicalSchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PhysicalSchema>parser()PhysicalSchema.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AVRO_FIELD_NUMBER
public static final int AVRO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THRIFT_FIELD_NUMBER
public static final int THRIFT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOBUF_FIELD_NUMBER
public static final int PROTOBUF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARQUET_FIELD_NUMBER
public static final int PARQUET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORC_FIELD_NUMBER
public static final int ORC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSV_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSchemaCase
public PhysicalSchema.SchemaCase getSchemaCase()
- Specified by:
getSchemaCasein interfacePhysicalSchemaOrBuilder
-
hasAvro
public boolean hasAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;- Specified by:
hasAvroin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the avro field is set.
-
getAvro
public PhysicalSchema.AvroSchema getAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;- Specified by:
getAvroin interfacePhysicalSchemaOrBuilder- Returns:
- The avro.
-
getAvroOrBuilder
public PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;- Specified by:
getAvroOrBuilderin interfacePhysicalSchemaOrBuilder
-
hasThrift
public boolean hasThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;- Specified by:
hasThriftin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the thrift field is set.
-
getThrift
public PhysicalSchema.ThriftSchema getThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;- Specified by:
getThriftin interfacePhysicalSchemaOrBuilder- Returns:
- The thrift.
-
getThriftOrBuilder
public PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;- Specified by:
getThriftOrBuilderin interfacePhysicalSchemaOrBuilder
-
hasProtobuf
public boolean hasProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;- Specified by:
hasProtobufin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the protobuf field is set.
-
getProtobuf
public PhysicalSchema.ProtobufSchema getProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;- Specified by:
getProtobufin interfacePhysicalSchemaOrBuilder- Returns:
- The protobuf.
-
getProtobufOrBuilder
public PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;- Specified by:
getProtobufOrBuilderin interfacePhysicalSchemaOrBuilder
-
hasParquet
public boolean hasParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;- Specified by:
hasParquetin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the parquet field is set.
-
getParquet
public PhysicalSchema.ParquetSchema getParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;- Specified by:
getParquetin interfacePhysicalSchemaOrBuilder- Returns:
- The parquet.
-
getParquetOrBuilder
public PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;- Specified by:
getParquetOrBuilderin interfacePhysicalSchemaOrBuilder
-
hasOrc
public boolean hasOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;- Specified by:
hasOrcin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the orc field is set.
-
getOrc
public PhysicalSchema.OrcSchema getOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;- Specified by:
getOrcin interfacePhysicalSchemaOrBuilder- Returns:
- The orc.
-
getOrcOrBuilder
public PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;- Specified by:
getOrcOrBuilderin interfacePhysicalSchemaOrBuilder
-
hasCsv
public boolean hasCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;- Specified by:
hasCsvin interfacePhysicalSchemaOrBuilder- Returns:
- Whether the csv field is set.
-
getCsv
public PhysicalSchema.CsvSchema getCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;- Specified by:
getCsvin interfacePhysicalSchemaOrBuilder- Returns:
- The csv.
-
getCsvOrBuilder
public PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;- Specified by:
getCsvOrBuilderin interfacePhysicalSchemaOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PhysicalSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhysicalSchema parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PhysicalSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PhysicalSchema parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PhysicalSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PhysicalSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PhysicalSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PhysicalSchema.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PhysicalSchema.Builder newBuilder()
-
newBuilder
public static PhysicalSchema.Builder newBuilder(PhysicalSchema prototype)
-
toBuilder
public PhysicalSchema.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PhysicalSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PhysicalSchema getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PhysicalSchema> parser()
-
getParserForType
public com.google.protobuf.Parser<PhysicalSchema> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PhysicalSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-