Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
777 B

// Protocol Buffers - Google's data interchange format
// Copyright 2023 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
edition = "2023";
package protobuf_editions_test;
// This file tests the default features in the absence of any dependencies.
enum EditionsDefaultEnum {
EDITIONS_DEFAULT_ENUM_UNKNOWN = 0;
EDITIONS_DEFAULT_ENUM_VALUE1 = 1;
}
message EditionsDefaultMessage {
int32 int32_field = 1;
string string_field = 2;
EditionsDefaultEnum enum_field = 3;
repeated int32 repeated_int32_field = 4;
message SubMessage {
int32 nested_int32_field = 1;
}
SubMessage sub_message_field = 6;
}