internal change

PiperOrigin-RevId: 660894498
pull/17735/head
Protobuf Team Bot 7 months ago committed by Copybara-Service
parent 7356adb87a
commit 479a80cf4b
  1. 24
      google3/third_party/java_src/protobuf/current/javatests/com/google/protobuf/large_closed_enum.proto
  2. 23
      google3/third_party/java_src/protobuf/current/javatests/com/google/protobuf/large_open_enum.proto

@ -0,0 +1,24 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. 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
//
// Sample message to generate large enum code.
edition = "2023";
package protobuf_test_messages.edition;
import "google/protobuf/java_features.proto";
option java_package = "com.google.protobuf.large.closedenum.edition";
option java_multiple_files = true;
option features.enum_type = CLOSED;
enum LargeClosedEnum {
LARGE_ENUM_UNSPECIFIED = 0;
LARGE_ENUM_1 = 1;
LARGE_ENUM_2 = 2;
}

@ -0,0 +1,23 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. 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
//
// Sample message to generate large enum code.
edition = "2023";
package protobuf_test_messages.edition;
import "google/protobuf/java_features.proto";
option java_package = "com.google.protobuf.large.openenum.edition";
option java_multiple_files = true;
enum LargeOpenEnum {
LARGE_ENUM_UNSPECIFIED = 0;
LARGE_ENUM_1 = 1;
LARGE_ENUM_2 = 2;
}
Loading…
Cancel
Save