Package com.google.cloud.datacatalog.v1
Class PhysicalSchema
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class PhysicalSchema
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSchema in Avro JSON format.static interfacestatic final classNative schema used by a resource represented as an entry.static final classMarks a CSV-encoded data source.static interfacestatic final classMarks an ORC-encoded data source.static interfacestatic final classMarks a Parquet-encoded data source.static interfacestatic final classSchema in protocol buffer format.static interfacestatic enumstatic final classSchema in Thrift format.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAvro()Schema in Avro JSON format.Schema in Avro JSON format.getCsv()Marks a CSV-encoded data source.Marks a CSV-encoded data source.static PhysicalSchemastatic final com.google.protobuf.Descriptors.DescriptorgetOrc()Marks an ORC-encoded data source.Marks an ORC-encoded data source.Marks a Parquet-encoded data source.Marks a Parquet-encoded data source.com.google.protobuf.Parser<PhysicalSchema>Schema in protocol buffer format.Schema in protocol buffer format.intSchema in Thrift format.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.booleanMarks a Parquet-encoded data source.booleanSchema in protocol buffer format.booleanSchema in Thrift format.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PhysicalSchema.Builderstatic PhysicalSchema.BuildernewBuilder(PhysicalSchema prototype) protected PhysicalSchema.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AVRO_FIELD_NUMBER
public static final int AVRO_FIELD_NUMBER- See Also:
-
THRIFT_FIELD_NUMBER
public static final int THRIFT_FIELD_NUMBER- See Also:
-
PROTOBUF_FIELD_NUMBER
public static final int PROTOBUF_FIELD_NUMBER- See Also:
-
PARQUET_FIELD_NUMBER
public static final int PARQUET_FIELD_NUMBER- See Also:
-
ORC_FIELD_NUMBER
public static final int ORC_FIELD_NUMBER- See Also:
-
CSV_FIELD_NUMBER
public static final int CSV_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
Schema in Avro JSON format.
.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;- Specified by:
getAvroin interfacePhysicalSchemaOrBuilder- Returns:
- The avro.
-
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
Schema in Thrift format.
.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;- Specified by:
getThriftin interfacePhysicalSchemaOrBuilder- Returns:
- The thrift.
-
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
Schema in protocol buffer format.
.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;- Specified by:
getProtobufin interfacePhysicalSchemaOrBuilder- Returns:
- The protobuf.
-
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
Marks a Parquet-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;- Specified by:
getParquetin interfacePhysicalSchemaOrBuilder- Returns:
- The parquet.
-
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
Marks an ORC-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;- Specified by:
getOrcin interfacePhysicalSchemaOrBuilder- Returns:
- The orc.
-
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
Marks a CSV-encoded data source.
.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;- Specified by:
getCsvin interfacePhysicalSchemaOrBuilder- Returns:
- The csv.
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static PhysicalSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PhysicalSchema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-