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.
 
 
 
 
kratos/internal/testdata/binding/test.proto

22 lines
481 B

syntax = "proto3";
package binding;
import "google/protobuf/field_mask.proto";
option go_package = "github.com/go-kratos/kratos/transport/binding";
// The request message containing the user's name.
message HelloRequest {
string name = 1;
Sub sub = 2;
google.protobuf.FieldMask update_mask = 3;
optional int32 opt_int32 = 4;
optional int64 opt_int64 = 5;
optional string opt_string = 6;
Sub subField = 7;
}
message Sub{
string name = 1 [json_name="naming"];
}