syntax = "proto3";

option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";

package rpc;

service Fetch {
  // Sends a capitalizes payload
  rpc Capitalize(Payload) returns (Payload) {}
}

// The request and response payload containing the id and data.
message Payload {
  int32 id    = 1;
  bytes data  = 2;
}
