14#ifndef PROTOBUF_SERIALIZER_H
15#define PROTOBUF_SERIALIZER_H
18#include "google/protobuf/extension_set.h"
19#include "google/protobuf/message.h"
21using namespace google::protobuf;
41#define SET_FEATURE(TYPE, _) \
42 virtual void setFeature(const std::string &, const TYPE) override; \
43 virtual void setFeature(const std::string &, const std::vector<TYPE> &) \
49 const google::protobuf::Message *value)
override;
52 const std::vector<google::protobuf::Message *> &value)
override;
#define SUPPORTED_TYPES(M)
#define SET_FEATURE(TYPE, _)
setFeature() is used to set the features of the data structure used for communication.
SerDesKind getKind() const
ProtobufSerDes - Protobuf Serialization/Deserialization to support gRPC communication.
void setFeature(const std::string &name, const google::protobuf::Message *value) override
void setResponse(void *Response) override
void setRequest(void *Request) override
static bool classof(const BaseSerDes *S)
void cleanDataStructures() override
void * getResponse() override
void * deserializeUntyped(void *data) override
void * getRequest() override
void * getSerializedData() override
SerDesKind
This is the base class for SerDes.