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.
 
 
 
 
 
 

29 lines
721 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
edition = "2023";
package hpb_unittest;
import public "google/protobuf/compiler/hpb/tests/test_enum.proto";
message ChildModel1 {
bool child_b1 = 44;
string child_str1 = 56;
}
message ChildModel3 {
string sub_key = 1 [features.field_presence = IMPLICIT];
bool bool1 = 2 [features.field_presence = IMPLICIT];
int32 i32 = 3 [features.field_presence = IMPLICIT];
string opt_str = 4;
bool opt_bool = 5;
int32 opt_i32 = 6;
}