类 ProtobufNativeSchemaUtils
java.lang.Object
org.apache.pulsar.client.impl.schema.ProtobufNativeSchemaUtils
Protobuf-Native schema util used for serialize/deserialize
between
Descriptors.Descriptor and
ProtobufNativeSchemaData.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static com.google.protobuf.Descriptors.Descriptordeserialize(byte[] schemaDataBytes) static byte[]serialize(com.google.protobuf.Descriptors.Descriptor descriptor)
-
构造器详细资料
-
ProtobufNativeSchemaUtils
public ProtobufNativeSchemaUtils()
-
-
方法详细资料
-
serialize
public static byte[] serialize(com.google.protobuf.Descriptors.Descriptor descriptor) -
deserialize
public static com.google.protobuf.Descriptors.Descriptor deserialize(byte[] schemaDataBytes)
-