Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
19 lines
543 B
19 lines
543 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 |
|
|
|
syntax = "proto2"; |
|
|
|
package protobuf_editions_test.proto2; |
|
|
|
message Proto2Unpacked { |
|
repeated int32 int32_field = 1; |
|
repeated string string_field = 2; |
|
message SubMessage { |
|
optional int32 int32_field = 1; |
|
} |
|
repeated SubMessage sub_message_field = 3; |
|
}
|
|
|