// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.6.1 // source: msg.proto package wechat import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type SubMessage1 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` } func (x *SubMessage1) Reset() { *x = SubMessage1{} if protoimpl.UnsafeEnabled { mi := &file_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SubMessage1) String() string { return protoimpl.X.MessageStringOf(x) } func (*SubMessage1) ProtoMessage() {} func (x *SubMessage1) ProtoReflect() protoreflect.Message { mi := &file_msg_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SubMessage1.ProtoReflect.Descriptor instead. func (*SubMessage1) Descriptor() ([]byte, []int) { return file_msg_proto_rawDescGZIP(), []int{0} } func (x *SubMessage1) GetField1() int32 { if x != nil { return x.Field1 } return 0 } func (x *SubMessage1) GetField2() int32 { if x != nil { return x.Field2 } return 0 } type SubMessage2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 string `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"` } func (x *SubMessage2) Reset() { *x = SubMessage2{} if protoimpl.UnsafeEnabled { mi := &file_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SubMessage2) String() string { return protoimpl.X.MessageStringOf(x) } func (*SubMessage2) ProtoMessage() {} func (x *SubMessage2) ProtoReflect() protoreflect.Message { mi := &file_msg_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SubMessage2.ProtoReflect.Descriptor instead. func (*SubMessage2) Descriptor() ([]byte, []int) { return file_msg_proto_rawDescGZIP(), []int{1} } func (x *SubMessage2) GetField1() int32 { if x != nil { return x.Field1 } return 0 } func (x *SubMessage2) GetField2() string { if x != nil { return x.Field2 } return "" } type MessageBytesExtra struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Message1 *SubMessage1 `protobuf:"bytes,1,opt,name=message1,proto3" json:"message1,omitempty"` Message2 []*SubMessage2 `protobuf:"bytes,3,rep,name=message2,proto3" json:"message2,omitempty"` } func (x *MessageBytesExtra) Reset() { *x = MessageBytesExtra{} if protoimpl.UnsafeEnabled { mi := &file_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MessageBytesExtra) String() string { return protoimpl.X.MessageStringOf(x) } func (*MessageBytesExtra) ProtoMessage() {} func (x *MessageBytesExtra) ProtoReflect() protoreflect.Message { mi := &file_msg_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MessageBytesExtra.ProtoReflect.Descriptor instead. func (*MessageBytesExtra) Descriptor() ([]byte, []int) { return file_msg_proto_rawDescGZIP(), []int{2} } func (x *MessageBytesExtra) GetMessage1() *SubMessage1 { if x != nil { return x.Message1 } return nil } func (x *MessageBytesExtra) GetMessage2() []*SubMessage2 { if x != nil { return x.Message2 } return nil } var File_msg_proto protoreflect.FileDescriptor var file_msg_proto_rawDesc = []byte{ 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x3d, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x22, 0x3d, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_msg_proto_rawDescOnce sync.Once file_msg_proto_rawDescData = file_msg_proto_rawDesc ) func file_msg_proto_rawDescGZIP() []byte { file_msg_proto_rawDescOnce.Do(func() { file_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_msg_proto_rawDescData) }) return file_msg_proto_rawDescData } var file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_msg_proto_goTypes = []interface{}{ (*SubMessage1)(nil), // 0: app.protobuf.SubMessage1 (*SubMessage2)(nil), // 1: app.protobuf.SubMessage2 (*MessageBytesExtra)(nil), // 2: app.protobuf.MessageBytesExtra } var file_msg_proto_depIdxs = []int32{ 0, // 0: app.protobuf.MessageBytesExtra.message1:type_name -> app.protobuf.SubMessage1 1, // 1: app.protobuf.MessageBytesExtra.message2:type_name -> app.protobuf.SubMessage2 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_msg_proto_init() } func file_msg_proto_init() { if File_msg_proto != nil { return } if !protoimpl.UnsafeEnabled { file_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubMessage1); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubMessage2); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessageBytesExtra); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_msg_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_msg_proto_goTypes, DependencyIndexes: file_msg_proto_depIdxs, MessageInfos: file_msg_proto_msgTypes, }.Build() File_msg_proto = out.File file_msg_proto_rawDesc = nil file_msg_proto_goTypes = nil file_msg_proto_depIdxs = nil }