dep-protobuf/hpb_generator/tests/null_enum.proto
Hong Shin 09a8d9a5e5 hpb: update null_enum.proto to edition 2024
PiperOrigin-RevId: 885178675
2026-03-17 13:24:30 -07:00

29 lines
565 B
Protocol Buffer

// Protocol Buffers - Google's data interchange format
// Copyright 2026 Google LLC. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
edition = "2024";
package hpb_test;
enum TestEnumWithNull {
TYPE_UNSPECIFIED = 0;
NULL = 1;
}
message MessageWithEnum {
enum NestedEnum {
NESTED_TYPE_UNSPECIFIED = 0;
NULL = 1;
}
}
message MessageWithNullEnum {
enum NULL {
UNSPECIFIED = 0;
VALUE = 1;
}
}