- 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 T
cast(M message)
abstract M
create()
abstract ProtobufMessageType<T,M>
field(ProtobufFieldType<?,M> field)
abstract ProtobufFieldType<?,M>
getField(long fieldNumber)
ProtobufWireType
wireType()
-
-
-
Method Detail
-
wireType
public final ProtobufWireType wireType()
- Specified by:
wireType
in 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()
-
-