oneofmsg.proto 228 B

12345678910
  1. syntax = "proto2";
  2. import "nanopb.proto";
  3. message BodyMessage {
  4. oneof body_type {
  5. bytes device_data_crypted = 1 [(nanopb).max_size = 252];
  6. bytes device_config_crypted = 2 [(nanopb).max_size = 252];
  7. }
  8. }