proto.proto 324 Bytes
Newer Older
Jeromy's avatar
Jeromy committed
1
2
3
4
5
6
7
8
9
10
11
syntax = "proto2";
package custombytesnonstruct;

import "github.com/gogo/protobuf/gogoproto/gogo.proto";

option (gogoproto.unmarshaler_all) = true;

message Object {
    optional bytes CustomField1 = 1 [(gogoproto.customtype) = "CustomType"];
    repeated bytes CustomField2 = 2 [(gogoproto.customtype) = "CustomType"];
}