- java.lang.Object
-
- swim.protobuf.schema.ProtobufType<T>
-
- swim.protobuf.schema.ProtobufComplexType<T>
-
- swim.protobuf.schema.ProtobufMessageType<T,M>
-
- Direct Known Subclasses:
ProtobufMapEntryType
public abstract class ProtobufMessageType<T,M> extends ProtobufComplexType<T>
-
-
Constructor Summary
Constructors Constructor Description ProtobufMessageType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tcast(M message)abstract Mcreate()abstract ProtobufMessageType<T,M>field(ProtobufFieldType<?,M> field)abstract ProtobufFieldType<?,M>getField(long fieldNumber)ProtobufWireTypewireType()
-
-
-
Method Detail
-
wireType
public final ProtobufWireType wireType()
- Specified by:
wireTypein classProtobufType<T>
-
getField
public abstract ProtobufFieldType<?,M> getField(long fieldNumber)
-
field
public abstract ProtobufMessageType<T,M> field(ProtobufFieldType<?,M> field)
-
create
public abstract M create()
-
-