类的使用
org.apache.pulsar.client.impl.schema.ProtobufSchema
使用ProtobufSchema的程序包
-
org.apache.pulsar.client.impl.schema中ProtobufSchema的使用
修饰符和类型方法说明static <T extends com.google.protobuf.GeneratedMessageV3>
ProtobufSchema<T>static <T extends com.google.protobuf.GeneratedMessageV3>
ProtobufSchema<T>static <T> ProtobufSchemaProtobufSchema.of(SchemaDefinition<T> schemaDefinition) static <T> ProtobufSchemaProtobufSchema.ofGenericClass(Class<T> pojo, Map<String, String> properties)