Sha256: 0631fb0b657a9150cff25354db5fccf52fdd0700758652a6b939fda6e011779b

Contents?: true

Size: 415 Bytes

Versions: 7

Compression:

Stored size: 415 Bytes

Contents

package tutorial;

message Person {
  required string name = 1;
  required int32 id = 2;
  optional string email = 3;

  enum PhoneType {
    MOBILE = 0;
    HOME = 1;
    WORK = 2;
  }

  message PhoneNumber {
    required string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phone = 4;

  extensions 100 to 200;
}

message AddressBook {
  repeated Person person = 1;
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
macks-ruby_protobuf-0.3.2.1 test/proto/addressbook_base.proto
macks-ruby_protobuf-0.3.2.2 test/proto/addressbook_base.proto
macks-ruby_protobuf-0.3.2.3 test/proto/addressbook_base.proto
macks-ruby_protobuf-0.3.3 test/proto/addressbook_base.proto
ruby_protobuf-0.3.3 test/proto/addressbook_base.proto
ruby_protobuf-0.3.2 test/proto/addressbook_base.proto
ruby_protobuf-0.3.0 test/addressbook_base.proto