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.
27 lines
647 B
27 lines
647 B
1 year ago
|
// Protocol Buffers - Google's data interchange format
|
||
|
// Copyright 2023 Google LLC. All rights reserved.
|
||
|
//
|
||
1 year ago
|
// 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
|
||
1 year ago
|
|
||
2 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package protos_generator.test;
|
||
|
|
||
6 months ago
|
import public "hpb_generator/tests/test_enum.proto";
|
||
2 years ago
|
|
||
|
message ChildModel1 {
|
||
|
optional bool child_b1 = 44;
|
||
|
optional string child_str1 = 56;
|
||
|
}
|
||
|
|
||
|
message ChildModel3 {
|
||
|
string sub_key = 1;
|
||
|
bool bool1 = 2;
|
||
|
int32 i32 = 3;
|
||
|
optional string opt_str = 4;
|
||
|
optional bool opt_bool = 5;
|
||
|
optional int32 opt_i32 = 6;
|
||
|
}
|