|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.27.1
|
|
|
|
|
// protoc v3.17.3
|
|
|
|
|
// protoc-gen-go v1.28.0
|
|
|
|
|
// protoc v3.20.0
|
|
|
|
|
// source: test.proto
|
|
|
|
|
|
|
|
|
|
package binding |
|
|
|
@ -9,6 +9,7 @@ package binding |
|
|
|
|
import ( |
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
|
|
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
|
|
|
|
reflect "reflect" |
|
|
|
|
sync "sync" |
|
|
|
|
) |
|
|
|
@ -28,6 +29,7 @@ type HelloRequest struct { |
|
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
|
|
|
|
Sub *Sub `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` |
|
|
|
|
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HelloRequest) Reset() { |
|
|
|
@ -76,6 +78,13 @@ func (x *HelloRequest) GetSub() *Sub { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HelloRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.UpdateMask |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Sub struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -127,16 +136,22 @@ var File_test_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
|
|
var file_test_proto_rawDesc = []byte{ |
|
|
|
|
0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x69, |
|
|
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x42, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, |
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x73, 0x75, 0x62, |
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, |
|
|
|
|
0x2e, 0x53, 0x75, 0x62, 0x52, 0x03, 0x73, 0x75, 0x62, 0x22, 0x1b, 0x0a, 0x03, 0x53, 0x75, 0x62, |
|
|
|
|
0x12, 0x14, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, |
|
|
|
|
0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, |
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x6b, |
|
|
|
|
0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, |
|
|
|
|
0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, |
|
|
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, |
|
|
|
|
0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, |
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x73, |
|
|
|
|
0x75, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x62, 0x69, 0x6e, 0x64, 0x69, |
|
|
|
|
0x6e, 0x67, 0x2e, 0x53, 0x75, 0x62, 0x52, 0x03, 0x73, 0x75, 0x62, 0x12, 0x3b, 0x0a, 0x0b, 0x75, |
|
|
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
|
|
|
|
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, |
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x1b, 0x0a, 0x03, 0x53, 0x75, 0x62, 0x12, |
|
|
|
|
0x14, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, |
|
|
|
|
0x61, 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, |
|
|
|
|
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x6b, 0x72, |
|
|
|
|
0x61, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x62, |
|
|
|
|
0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
@ -155,14 +170,16 @@ var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
|
|
|
|
var file_test_proto_goTypes = []interface{}{ |
|
|
|
|
(*HelloRequest)(nil), // 0: binding.HelloRequest
|
|
|
|
|
(*Sub)(nil), // 1: binding.Sub
|
|
|
|
|
(*fieldmaskpb.FieldMask)(nil), // 2: google.protobuf.FieldMask
|
|
|
|
|
} |
|
|
|
|
var file_test_proto_depIdxs = []int32{ |
|
|
|
|
1, // 0: binding.HelloRequest.sub:type_name -> binding.Sub
|
|
|
|
|
1, // [1:1] is the sub-list for method output_type
|
|
|
|
|
1, // [1:1] is the sub-list for method input_type
|
|
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:1] is the sub-list for field type_name
|
|
|
|
|
2, // 1: binding.HelloRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
|
|
|
2, // [2:2] is the sub-list for method output_type
|
|
|
|
|
2, // [2:2] is the sub-list for method input_type
|
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { file_test_proto_init() } |
|
|
|
|