syntax = "proto3";

import "uuid.proto";

option java_package = "dev.usbharu.owl.generated";

message Producer {
  string name = 1;
  string hostname = 2;
}

message RegisterProducerResponse {
  UUID id = 1;
}

service ProducerService {
  rpc registerProducer (Producer) returns (RegisterProducerResponse);
}