MxProtobufIn

Function

Defines the input protobuf data for the inference service.

Structure Definition

class MxProtobufIn:
    def __init__(self):
        self.key= None
        self.type= None
        self.protobuf= None

Parameter Description

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.