Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/grpc/examples/ruby/lib/helloworld.rb

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/examples/ruby/lib/helloworld.rb
diff --git a/third_party/grpc/examples/ruby/lib/helloworld.rb b/third_party/grpc/examples/ruby/lib/helloworld.rb
new file mode 100644
index 0000000000000000000000000000000000000000..82bdd78e2a47bdeda0806f47a184304491617fd5
--- /dev/null
+++ b/third_party/grpc/examples/ruby/lib/helloworld.rb
@@ -0,0 +1,18 @@
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: helloworld.proto
+
+require 'google/protobuf'
+
+Google::Protobuf::DescriptorPool.generated_pool.build do
+ add_message "helloworld.HelloRequest" do
+ optional :name, :string, 1
+ end
+ add_message "helloworld.HelloReply" do
+ optional :message, :string, 1
+ end
+end
+
+module Helloworld
+ HelloRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloRequest").msgclass
+ HelloReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloReply").msgclass
+end
« no previous file with comments | « third_party/grpc/examples/ruby/grpc-demo.gemspec ('k') | third_party/grpc/examples/ruby/lib/helloworld_services.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698