Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Daniel Wirtz
35 lines (27 sloc) 0.79 kb
package Game.Cars;
// Car
message Car {
// Car Vendor
message Vendor {
required string name = 1;
// Car Vendor Address
message Address {
required string country = 1;
}
optional Address address = 2;
}
required string model = 1; // Model name
required Vendor vendor = 2; // Vendor information
optional Speed speed = 3 [default=FAST]; // Car speed
// Car speed enum
enum Speed {
FAST = 1;
SUPERFAST = 2;
}
// Car Holder
message Holder {
optional string first_name = 1;
required string last_name = 2;
optional Vendor.Address address = 3;
}
}
Jump to Line
Something went wrong with that request. Please try again.