Go to the documentation of this file.
36 return FEATURE_PROTO3_OPTIONAL;
46 if (!parameter.empty()) {
47 std::vector<std::string> parameters_list =
49 for (
auto parameter_string = parameters_list.begin();
50 parameter_string != parameters_list.end(); parameter_string++) {
51 std::vector<std::string> param =
53 if (param[0] ==
"minimum_node_version") {
54 sscanf(param[1].
c_str(),
"%d",
64 if (
code.size() == 0) {
71 std::unique_ptr<grpc::protobuf::io::ZeroCopyOutputStream>
output(
74 coded_out.WriteRaw(
code.data(),
code.size());
79 int main(
int argc,
char* argv[]) {
std::string GenerateFile(const FileDescriptor *file, const Parameters ¶ms)
GRPC_CUSTOM_FILEDESCRIPTOR FileDescriptor
std::vector< std::string > tokenize(const std::string &input, const std::string &delimiters)
int main(int argc, char *argv[])
GRPC_CUSTOM_GENERATORCONTEXT GeneratorContext
GRPC_CUSTOM_CODEGENERATOR CodeGenerator
def c_str(s, encoding='ascii')
unsigned __int64 uint64_t
GRPC_CUSTOM_CODEDOUTPUTSTREAM CodedOutputStream
bool Generate(const grpc::protobuf::FileDescriptor *file, const std::string ¶meter, grpc::protobuf::compiler::GeneratorContext *context, std::string *error) const override
static int PluginMain(int argc, char *argv[], const CodeGenerator *generator)
grpc::ClientContext context
uint64_t GetSupportedFeatures() const override
std::string GetJSServiceFilename(const std::string &filename)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:43