Sha256: 26eb009ed1db829a33c5ac8e9499f003af9eefa8a9e2a506120ff9d00f54c98d

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

### Generated by rprotoc. DO NOT EDIT!
### <proto file: sample.proto>
# message Sample {
#   optional string string_field = 1;
#   optional int32 int_field = 2;
#   optional double double_field = 3;
# 
#   optional string string_field_2 = 4;
#   optional int32 int_field_2 = 5;
#   optional double double_field_2 = 6;
# 
#   optional string string_field_3 = 7;
#   optional int32 int_field_3 = 8;
#   optional double double_field_3 = 9;
# 
#   optional bool bool_field=10;
#   optional bool bool_field_2=11;
#   optional bool bool_field_3=12;
# }

require 'protobuf/message/message'
require 'protobuf/message/enum'
require 'protobuf/message/service'
require 'protobuf/message/extend'

class Sample < ::Protobuf::Message
  defined_in __FILE__
  optional :string, :string_field, 1
  optional :int32, :int_field, 2
  optional :double, :double_field, 3
  optional :string, :string_field_2, 4
  optional :int32, :int_field_2, 5
  optional :double, :double_field_2, 6
  optional :string, :string_field_3, 7
  optional :int32, :int_field_3, 8
  optional :double, :double_field_3, 9
  optional :bool, :bool_field, 10
  optional :bool, :bool_field_2, 11
  optional :bool, :bool_field_3, 12
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
protobuf_spec-0.3.2 features/support/sample.pb.rb
protobuf_spec-0.3.2 spec/support/sample.pb.rb
protobuf_spec-0.3.1 features/support/sample.pb.rb
protobuf_spec-0.3.1 spec/support/sample.pb.rb