| 1 |
syntax = "proto3"; |
| 2 |
|
| 3 |
package test; |
| 4 |
option go_package="../test"; |
| 5 |
|
| 6 |
import "confluent/meta.proto"; |
| 7 |
|
| 8 |
message Author { |
| 9 |
string name = 1 [ |
| 10 |
(confluent.field_meta).tags = "PII" |
| 11 |
]; |
| 12 |
int32 id = 2; |
| 13 |
bytes picture = 3 [ |
| 14 |
(confluent.field_meta).tags = "PII" |
| 15 |
]; |
| 16 |
repeated string works = 4; |
| 17 |
oneof pii_oneof { |
| 18 |
Pizza oneof_message = 5; |
| 19 |
string oneof_string = 6 [(.confluent.field_meta).tags = "PII"]; |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
message Pizza { |
| 24 |
string size = 1; |
| 25 |
repeated string toppings = 2; |
| 26 |
} |