You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syntax="proto3";
// Haberdasher service makes hats for clients.serviceHaberdasher {
// MakeHat produces a hat of mysterious, randomly-selected color!rpcMakeHat(Req.MakeHat) returns (Hat);
}
// Size of a Hat, in inches.messageReq {
messageMakeHat {
int32inches=1; // must be > 0
}
}
// A Hat is a piece of headwear made by a Haberdasher.messageHat {
int32inches=1;
stringcolor=2; // anything but "invisible"stringname=3; // i.e. "bowler"
}
/** * MakeHat produces a hat of mysterious, randomly-selected color! */exportasyncfunctionMakeHatJSON(makeHat,config){constresponse=awaitJSONrequest("/Haberdasher/MakeHat",Req.MakeHatJSON.encode(makeHat),config);returnHatJSON.decode(response);}
Req.MakeHatJSON is missing from the generated file.
The text was updated successfully, but these errors were encountered:
haberdasher.proto
haberdasher.pb.js
Req.MakeHatJSON
is missing from the generated file.The text was updated successfully, but these errors were encountered: