Defines the input protobuf data for the inference service.
1 2 3 4 5 | class MxProtobufIn: def __init__(self): self.key= None self.type= None self.protobuf= None |
Parameter |
Type |
Description |
|---|---|---|
key |
bytes |
Key of the input protobuf. |
type |
bytes |
Type of the input protobuf data. |
protobuf |
bytes |
Value data of the input protobuf, which needs to be deserialized to the data corresponding to the class. |