# Generated by the protocol buffer compiler. DO NOT EDIT! # source: cat.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "Cat" do optional :id, :int32, 1 optional :name, :string, 2 optional :color, :string, 3 end add_message "CatList" do repeated :cats, :message, 1, "Cat" end add_message "NewCatRequest" do optional :name, :string, 1 optional :color, :string, 2 end add_message "GetCatRequest" do optional :name, :string, 1 end add_message "DeleteCatRequest" do optional :name, :string, 1 end add_message "CatListRequest" do end end Cat = Google::Protobuf::DescriptorPool.generated_pool.lookup("Cat").msgclass CatList = Google::Protobuf::DescriptorPool.generated_pool.lookup("CatList").msgclass NewCatRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("NewCatRequest").msgclass GetCatRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("GetCatRequest").msgclass DeleteCatRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("DeleteCatRequest").msgclass CatListRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("CatListRequest").msgclass