- java.lang.Object
-
- swim.protobuf.ProtobufDecoder<Item,Value>
-
- swim.protobuf.ProtobufStructureDecoder
-
public class ProtobufStructureDecoder extends ProtobufDecoder<Item,Value>
-
-
Constructor Summary
Constructors Constructor Description ProtobufStructureDecoder()
-
Method Summary
Modifier and Type Method Description Output<Value>
dataOutput()
Item
field(long key, Value value)
Value
fixed(int value)
Value
fixed(long value)
Item
item(Value value)
Builder<Item,Value>
messageBuilder()
Value
sint(long value)
Output<Value>
textOutput()
Value
uint(long value)
Value
value(Item item)
-
Methods inherited from class swim.protobuf.ProtobufDecoder
decodeData, decodeField, decodeFixed32, decodeFixed64, decodeMessage, decodeMessage, decodePacked, decodePayload, decodeSignedVarint, decodeSized, decodeSized, decodeText, decodeValue, decodeValue, decodeVarint, payloadDecoder
-
-
-
-
Method Detail
-
field
public Item field(long key, Value value)
- Specified by:
field
in classProtobufDecoder<Item,Value>
-
uint
public Value uint(long value)
- Specified by:
uint
in classProtobufDecoder<Item,Value>
-
sint
public Value sint(long value)
- Specified by:
sint
in classProtobufDecoder<Item,Value>
-
fixed
public Value fixed(int value)
- Specified by:
fixed
in classProtobufDecoder<Item,Value>
-
fixed
public Value fixed(long value)
- Specified by:
fixed
in classProtobufDecoder<Item,Value>
-
messageBuilder
public Builder<Item,Value> messageBuilder()
- Specified by:
messageBuilder
in classProtobufDecoder<Item,Value>
-
dataOutput
public Output<Value> dataOutput()
- Specified by:
dataOutput
in classProtobufDecoder<Item,Value>
-
textOutput
public Output<Value> textOutput()
- Specified by:
textOutput
in classProtobufDecoder<Item,Value>
-
-