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 class
PhysicalSchema.AvroSchema
Schema in Avro JSON format.static interface
PhysicalSchema.AvroSchemaOrBuilder
static class
PhysicalSchema.Builder
Native schema used by a resource represented as an entry.static class
PhysicalSchema.CsvSchema
Marks a CSV-encoded data source.static interface
PhysicalSchema.CsvSchemaOrBuilder
static class
PhysicalSchema.OrcSchema
Marks an ORC-encoded data source.static interface
PhysicalSchema.OrcSchemaOrBuilder
static class
PhysicalSchema.ParquetSchema
Marks a Parquet-encoded data source.static interface
PhysicalSchema.ParquetSchemaOrBuilder
static class
PhysicalSchema.ProtobufSchema
Schema in protocol buffer format.static interface
PhysicalSchema.ProtobufSchemaOrBuilder
static class
PhysicalSchema.SchemaCase
static class
PhysicalSchema.ThriftSchema
Schema in Thrift format.static interface
PhysicalSchema.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 int
AVRO_FIELD_NUMBER
static int
CSV_FIELD_NUMBER
static int
ORC_FIELD_NUMBER
static int
PARQUET_FIELD_NUMBER
static int
PROTOBUF_FIELD_NUMBER
static int
THRIFT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
PhysicalSchema.AvroSchema
getAvro()
Schema in Avro JSON format.PhysicalSchema.AvroSchemaOrBuilder
getAvroOrBuilder()
Schema in Avro JSON format.PhysicalSchema.CsvSchema
getCsv()
Marks a CSV-encoded data source.PhysicalSchema.CsvSchemaOrBuilder
getCsvOrBuilder()
Marks a CSV-encoded data source.static PhysicalSchema
getDefaultInstance()
PhysicalSchema
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
PhysicalSchema.OrcSchema
getOrc()
Marks an ORC-encoded data source.PhysicalSchema.OrcSchemaOrBuilder
getOrcOrBuilder()
Marks an ORC-encoded data source.PhysicalSchema.ParquetSchema
getParquet()
Marks a Parquet-encoded data source.PhysicalSchema.ParquetSchemaOrBuilder
getParquetOrBuilder()
Marks a Parquet-encoded data source.com.google.protobuf.Parser<PhysicalSchema>
getParserForType()
PhysicalSchema.ProtobufSchema
getProtobuf()
Schema in protocol buffer format.PhysicalSchema.ProtobufSchemaOrBuilder
getProtobufOrBuilder()
Schema in protocol buffer format.PhysicalSchema.SchemaCase
getSchemaCase()
int
getSerializedSize()
PhysicalSchema.ThriftSchema
getThrift()
Schema in Thrift format.PhysicalSchema.ThriftSchemaOrBuilder
getThriftOrBuilder()
Schema in Thrift format.boolean
hasAvro()
Schema in Avro JSON format.boolean
hasCsv()
Marks a CSV-encoded data source.int
hashCode()
boolean
hasOrc()
Marks an ORC-encoded data source.boolean
hasParquet()
Marks a Parquet-encoded data source.boolean
hasProtobuf()
Schema in protocol buffer format.boolean
hasThrift()
Schema in Thrift format.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PhysicalSchema.Builder
newBuilder()
static PhysicalSchema.Builder
newBuilder(PhysicalSchema prototype)
PhysicalSchema.Builder
newBuilderForType()
protected PhysicalSchema.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PhysicalSchema
parseDelimitedFrom(InputStream input)
static PhysicalSchema
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PhysicalSchema
parseFrom(byte[] data)
static PhysicalSchema
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PhysicalSchema
parseFrom(com.google.protobuf.ByteString data)
static PhysicalSchema
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PhysicalSchema
parseFrom(com.google.protobuf.CodedInputStream input)
static PhysicalSchema
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PhysicalSchema
parseFrom(InputStream input)
static PhysicalSchema
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PhysicalSchema
parseFrom(ByteBuffer data)
static PhysicalSchema
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PhysicalSchema>
parser()
PhysicalSchema.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSchemaCase
public PhysicalSchema.SchemaCase getSchemaCase()
- Specified by:
getSchemaCase
in interfacePhysicalSchemaOrBuilder
-
hasAvro
public boolean hasAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
- Specified by:
hasAvro
in 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:
getAvro
in interfacePhysicalSchemaOrBuilder
- Returns:
- The avro.
-
getAvroOrBuilder
public PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
- Specified by:
getAvroOrBuilder
in interfacePhysicalSchemaOrBuilder
-
hasThrift
public boolean hasThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
- Specified by:
hasThrift
in 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:
getThrift
in interfacePhysicalSchemaOrBuilder
- Returns:
- The thrift.
-
getThriftOrBuilder
public PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
- Specified by:
getThriftOrBuilder
in interfacePhysicalSchemaOrBuilder
-
hasProtobuf
public boolean hasProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
- Specified by:
hasProtobuf
in 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:
getProtobuf
in interfacePhysicalSchemaOrBuilder
- Returns:
- The protobuf.
-
getProtobufOrBuilder
public PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
- Specified by:
getProtobufOrBuilder
in interfacePhysicalSchemaOrBuilder
-
hasParquet
public boolean hasParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
- Specified by:
hasParquet
in 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:
getParquet
in 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:
getParquetOrBuilder
in interfacePhysicalSchemaOrBuilder
-
hasOrc
public boolean hasOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
- Specified by:
hasOrc
in 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:
getOrc
in 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:
getOrcOrBuilder
in interfacePhysicalSchemaOrBuilder
-
hasCsv
public boolean hasCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
- Specified by:
hasCsv
in 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:
getCsv
in 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:
getCsvOrBuilder
in interfacePhysicalSchemaOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PhysicalSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PhysicalSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-