File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,6 +297,28 @@ message Type {
297297 Encoding encoding = 2 ;
298298 }
299299
300+ // A protobuf message type.
301+ // Values of type `Proto` are stored in `Value.bytes_value`.
302+ message Proto {
303+ // The ID of the schema bundle that this proto is defined in.
304+ string schema_bundle_id = 1 ;
305+
306+ // The fully qualified name of the protobuf message, including package. In
307+ // the format of "foo.bar.Message".
308+ string message_name = 2 ;
309+ }
310+
311+ // A protobuf enum type.
312+ // Values of type `Enum` are stored in `Value.int_value`.
313+ message Enum {
314+ // The ID of the schema bundle that this enum is defined in.
315+ string schema_bundle_id = 1 ;
316+
317+ // The fully qualified name of the protobuf enum message, including package.
318+ // In the format of "foo.bar.EnumMessage".
319+ string enum_name = 2 ;
320+ }
321+
300322 // An ordered list of elements of a given type.
301323 // Values of type `Array` are stored in `Value.array_value`.
302324 message Array {
@@ -413,5 +435,11 @@ message Type {
413435
414436 // Map
415437 Map map_type = 4 ;
438+
439+ // Proto
440+ Proto proto_type = 13 ;
441+
442+ // Enum
443+ Enum enum_type = 14 ;
416444 }
417445}
You can’t perform that action at this time.
0 commit comments