Sha256: 973d2da56fb1a929ed2c211ba91d30c8a639c160d593fe3f5a0ad2ef39c56a60

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

Contents

# 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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
contextio_next-0.0.9 lib/cat_pb.rb
contextio_next-0.0.8 lib/cat_pb.rb
contextio_next-0.0.7 lib/cat_pb.rb
contextio_next-0.0.6 lib/cat_pb.rb
contextio_next-0.0.5 lib/cat_pb.rb
contextio_next-0.0.4 lib/cat_pb.rb
contextio_next-0.0.3 lib/cat_pb.rb
cio_proto_cat-0.1.1 lib/cio_proto_cat/protobuffs/cat_pb.rb