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
653 B

// Protocol Buffers - Google's data interchange format
// Copyright 2023 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
syntax = "proto3";
package hpb_unittest;
import public "google/protobuf/compiler/hpb/tests/test_enum.proto";
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;
}