Class RuntimeMessageField<T,P>

java.lang.Object
io.protostuff.runtime.Field<T>
io.protostuff.runtime.RuntimeMessageField<T,P>

abstract class RuntimeMessageField<T,P> extends Field<T>
A runtime message field that lazily loads the schema to support cyclic dependencies.
  • Field Details

    • typeClass

      public final Class<P> typeClass
      The class of the message field.
    • hasSchema

      final HasSchema<P> hasSchema
  • Constructor Details

  • Method Details

    • getSchema

      public Schema<P> getSchema()
      Returns the schema.
    • getPipeSchema

      public Pipe.Schema<P> getPipeSchema()
      Returns the lazy initialized pipe schema.