diff --git a/protocol/hello.proto b/protocol/hello.proto index 20227667496af4b0cca13a0b0edfa565c904aec4..d3ff99288bf49d10f1a0835251752a1cc21e029a 100644 --- a/protocol/hello.proto +++ b/protocol/hello.proto @@ -1,10 +1,25 @@ -syntax = "proto2"; +syntax = "proto3"; package hello; message Hello { - optional string name = 1; + string name = 1; } message Bye { } + +message ComputeFlops { + double flop_amount = 1; +} + +message WhatYouWannaDo { +} + +message Order { + oneof order { + Hello hello = 1; + Bye bye = 2; + ComputeFlops compute_flops = 3; + } +}