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"];
}
