Class ProtobufNativeSchemaUtils


  • public class ProtobufNativeSchemaUtils
    extends java.lang.Object
    Protobuf-Native schema util used for serialize/deserialize between Descriptors.Descriptor and ProtobufNativeSchemaData.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.protobuf.Descriptors.Descriptor deserialize​(byte[] schemaDataBytes)  
      static byte[] serialize​(com.google.protobuf.Descriptors.Descriptor descriptor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtobufNativeSchemaUtils

        public ProtobufNativeSchemaUtils()
    • Method Detail

      • serialize

        public static byte[] serialize​(com.google.protobuf.Descriptors.Descriptor descriptor)
      • deserialize

        public static com.google.protobuf.Descriptors.Descriptor deserialize​(byte[] schemaDataBytes)