syntax = "proto3"; package com.webank.ai.fate.api.serving; option java_outer_classname = "InferenceServiceProto"; message InferenceMessage { bytes header = 1; bytes body = 2; } service InferenceService { rpc inference (InferenceMessage) returns (InferenceMessage); rpc startInferenceJob (InferenceMessage) returns (InferenceMessage); rpc getInferenceResult (InferenceMessage) returns (InferenceMessage); }