Class DescriptorMessageClass<T extends com.google.protobuf.Message>

java.lang.Object
io.deephaven.kafka.protobuf.DescriptorMessageClass<T>
Type Parameters:
T - the message type
All Implemented Interfaces:
DescriptorProvider

@Immutable public abstract class DescriptorMessageClass<T extends com.google.protobuf.Message> extends Object implements DescriptorProvider
A descriptor provider from a class on the classpath.
  • Constructor Details

    • DescriptorMessageClass

      public DescriptorMessageClass()
  • Method Details

    • of

      public static <T extends com.google.protobuf.Message> DescriptorMessageClass<T> of(Class<T> clazz)
    • clazz

      @Parameter public abstract Class<T> clazz()
      The message class.
      Returns:
      the message class