grpc/src/ruby/pb
Jan Tattermusch eceffa09cb
upgrade protobuf to 3.18.1 (automatically generated) (#27722)
* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* regenerate protos for csharp, ruby, php

* update build_handwritten.yaml

* update Protobuf-C++.podspec

* regenerate projects

* [objc] Patch protobuf podspec for 3.18.1 update

- excluding reflection_tester with gtest dependency

Co-authored-by: dennycd <dennycd@google.com>
2021-10-21 14:52:28 -07:00
..
grpc Update protobuf version to 3.15.8 (#26105) 2021-04-30 11:03:23 -07:00
src/proto/grpc/testing upgrade protobuf to 3.18.1 (automatically generated) (#27722) 2021-10-21 14:52:28 -07:00
test Ruby: fix timeout flake, always start RPC in threads (#26426) 2021-06-09 11:27:12 -07:00
README.md Fix various typos in .cc and .md and .py files 2019-02-12 11:11:43 -05:00
generate_proto_ruby.sh do not eat errors when generating protos 2020-04-18 18:43:55 +02:00

README.md

Protocol Buffers

This folder contains protocol buffers provided with gRPC ruby, and the generated code to them.

PREREQUISITES

The code is generated using the protoc (> 3.0.0.alpha.1) and the grpc_ruby_plugin. These must be installed to regenerate the IDL defined classes, but that's not necessary just to use them.

health_check/v1

This package defines the surface of a simple health check service that gRPC servers may choose to implement, and provides an implementation for it. To re-generate the surface.

$ # (from this directory)
$ protoc -I ../../proto ../../proto/grpc/health/v1/health.proto \
    --grpc_out=. \
    --ruby_out=. \
    --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`

test

This package defines the surface of the gRPC interop test service and client To re-generate the surface, it's necessary to have checked-out versions of the grpc interop test proto, e.g, by having the full gRPC repository. E.g,

$ # (from this directory within the grpc repo)
$ protoc -I../../.. ../../../test/proto/{messages,test,empty}.proto \
    --grpc_out=. \
    --ruby_out=. \
    --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`