Class ProtobufNativeSchemaUtils
java.lang.Object
org.apache.pulsar.client.impl.schema.ProtobufNativeSchemaUtils
Protobuf-Native schema util used for serialize/deserialize
between
Descriptors.Descriptor and
ProtobufNativeSchemaData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.Descriptordeserialize(byte[] schemaDataBytes) static byte[]serialize(com.google.protobuf.Descriptors.Descriptor descriptor)
-
Constructor Details
-
ProtobufNativeSchemaUtils
public ProtobufNativeSchemaUtils()
-
-
Method Details
-
serialize
public static byte[] serialize(com.google.protobuf.Descriptors.Descriptor descriptor) -
deserialize
public static com.google.protobuf.Descriptors.Descriptor deserialize(byte[] schemaDataBytes)
-