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 type
google.cloud.datacatalog.v1.PhysicalSchema| Modifier and Type | Class and 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 |
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| Modifier and Type | Field and 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 |
| Modifier and Type | Method and 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(ByteBuffer data) |
static PhysicalSchema |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<PhysicalSchema> |
parser() |
PhysicalSchema.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AVRO_FIELD_NUMBER
public static final int THRIFT_FIELD_NUMBER
public static final int PROTOBUF_FIELD_NUMBER
public static final int PARQUET_FIELD_NUMBER
public static final int ORC_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public PhysicalSchema.SchemaCase getSchemaCase()
getSchemaCase in interface PhysicalSchemaOrBuilderpublic boolean hasAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;hasAvro in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.AvroSchema getAvro()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;getAvro in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder()
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;getAvroOrBuilder in interface PhysicalSchemaOrBuilderpublic boolean hasThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;hasThrift in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ThriftSchema getThrift()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;getThrift in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;getThriftOrBuilder in interface PhysicalSchemaOrBuilderpublic boolean hasProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;hasProtobuf in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ProtobufSchema getProtobuf()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;getProtobuf in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder()
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;getProtobufOrBuilder in interface PhysicalSchemaOrBuilderpublic boolean hasParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;hasParquet in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ParquetSchema getParquet()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;getParquet in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder()
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;getParquetOrBuilder in interface PhysicalSchemaOrBuilderpublic boolean hasOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;hasOrc in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.OrcSchema getOrc()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;getOrc in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder()
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;getOrcOrBuilder in interface PhysicalSchemaOrBuilderpublic boolean hasCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;hasCsv in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.CsvSchema getCsv()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;getCsv in interface PhysicalSchemaOrBuilderpublic PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder()
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;getCsvOrBuilder in interface PhysicalSchemaOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PhysicalSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhysicalSchema parseFrom(InputStream input) throws IOException
IOExceptionpublic static PhysicalSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PhysicalSchema parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PhysicalSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PhysicalSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PhysicalSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PhysicalSchema.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PhysicalSchema.Builder newBuilder()
public static PhysicalSchema.Builder newBuilder(PhysicalSchema prototype)
public PhysicalSchema.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PhysicalSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PhysicalSchema getDefaultInstance()
public static com.google.protobuf.Parser<PhysicalSchema> parser()
public com.google.protobuf.Parser<PhysicalSchema> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PhysicalSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.