Package io.protostuff.runtime
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.
-
-
Constructor Summary
Constructors Constructor Description RuntimeMessageField(java.lang.Class<P> typeClass, HasSchema<P> hasSchema, WireFormat.FieldType type, int number, java.lang.String name, boolean repeated, Tag tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipe.Schema<P>
getPipeSchema()
Returns the lazy initialized pipe schema.Schema<P>
getSchema()
Returns the schema.
-
-
-
Constructor Detail
-
RuntimeMessageField
public RuntimeMessageField(java.lang.Class<P> typeClass, HasSchema<P> hasSchema, WireFormat.FieldType type, int number, java.lang.String name, boolean repeated, Tag tag)
-
-
Method Detail
-
getPipeSchema
public Pipe.Schema<P> getPipeSchema()
Returns the lazy initialized pipe schema.
-
-