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:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSchemaCase

      public PhysicalSchema.SchemaCase getSchemaCase()
      Specified by:
      getSchemaCase in interface PhysicalSchemaOrBuilder
    • hasAvro

      public boolean hasAvro()
       Schema in Avro JSON format.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;
      Specified by:
      hasAvro in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
    • hasThrift

      public boolean hasThrift()
       Schema in Thrift format.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
      Specified by:
      hasThrift in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      Returns:
      The thrift.
    • getThriftOrBuilder

      public PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder()
       Schema in Thrift format.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;
      Specified by:
      getThriftOrBuilder in interface PhysicalSchemaOrBuilder
    • hasProtobuf

      public boolean hasProtobuf()
       Schema in protocol buffer format.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;
      Specified by:
      hasProtobuf in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
    • hasParquet

      public boolean hasParquet()
       Marks a Parquet-encoded data source.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;
      Specified by:
      hasParquet in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
    • hasOrc

      public boolean hasOrc()
       Marks an ORC-encoded data source.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;
      Specified by:
      hasOrc in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
    • hasCsv

      public boolean hasCsv()
       Marks a CSV-encoded data source.
       
      .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;
      Specified by:
      hasCsv in interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
      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 interface PhysicalSchemaOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PhysicalSchema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PhysicalSchema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder