推理业务输入protobuf数据定义。
1 2 3 4 5 | class MxProtobufIn: def __init__(self): self.key= None self.type= None self.protobuf= None |
参数名 |
类型 |
说明 |
---|---|---|
key |
bytes |
输入protobuf的key。 |
type |
bytes |
输入protobuf数据的类型。 |
protobuf |
bytes |
输入protobuf的value数据,需要反序列化为与类型对应的数据。 |