1// Copyright 2018 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5// Code generated by protoc-gen-go. DO NOT EDIT. 6// source: cmd/protoc-gen-go/testdata/imports/test_a_2/m3.proto 7 8package test_a_2 9 10import ( 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15) 16 17type M3 struct { 18 state protoimpl.MessageState 19 sizeCache protoimpl.SizeCache 20 unknownFields protoimpl.UnknownFields 21} 22 23func (x *M3) Reset() { 24 *x = M3{} 25 if protoimpl.UnsafeEnabled { 26 mi := &file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_msgTypes[0] 27 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 28 ms.StoreMessageInfo(mi) 29 } 30} 31 32func (x *M3) String() string { 33 return protoimpl.X.MessageStringOf(x) 34} 35 36func (*M3) ProtoMessage() {} 37 38func (x *M3) ProtoReflect() protoreflect.Message { 39 mi := &file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_msgTypes[0] 40 if protoimpl.UnsafeEnabled && x != nil { 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 if ms.LoadMessageInfo() == nil { 43 ms.StoreMessageInfo(mi) 44 } 45 return ms 46 } 47 return mi.MessageOf(x) 48} 49 50// Deprecated: Use M3.ProtoReflect.Descriptor instead. 51func (*M3) Descriptor() ([]byte, []int) { 52 return file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescGZIP(), []int{0} 53} 54 55var File_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto protoreflect.FileDescriptor 56 57var file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDesc = []byte{ 58 0x0a, 0x34, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 59 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 60 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x5f, 0x32, 0x2f, 0x6d, 0x33, 61 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x22, 0x04, 62 0x0a, 0x02, 0x4d, 0x33, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 63 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 64 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 65 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 66 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x5f, 0x32, 0x62, 0x06, 67 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 68} 69 70var ( 71 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescOnce sync.Once 72 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescData = file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDesc 73) 74 75func file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescGZIP() []byte { 76 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescOnce.Do(func() { 77 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescData) 78 }) 79 return file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDescData 80} 81 82var file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 83var file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_goTypes = []interface{}{ 84 (*M3)(nil), // 0: test.a.M3 85} 86var file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_depIdxs = []int32{ 87 0, // [0:0] is the sub-list for method output_type 88 0, // [0:0] is the sub-list for method input_type 89 0, // [0:0] is the sub-list for extension type_name 90 0, // [0:0] is the sub-list for extension extendee 91 0, // [0:0] is the sub-list for field type_name 92} 93 94func init() { file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_init() } 95func file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_init() { 96 if File_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto != nil { 97 return 98 } 99 if !protoimpl.UnsafeEnabled { 100 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 101 switch v := v.(*M3); i { 102 case 0: 103 return &v.state 104 case 1: 105 return &v.sizeCache 106 case 2: 107 return &v.unknownFields 108 default: 109 return nil 110 } 111 } 112 } 113 type x struct{} 114 out := protoimpl.TypeBuilder{ 115 File: protoimpl.DescBuilder{ 116 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 117 RawDescriptor: file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDesc, 118 NumEnums: 0, 119 NumMessages: 1, 120 NumExtensions: 0, 121 NumServices: 0, 122 }, 123 GoTypes: file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_goTypes, 124 DependencyIndexes: file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_depIdxs, 125 MessageInfos: file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_msgTypes, 126 }.Build() 127 File_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto = out.File 128 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_rawDesc = nil 129 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_goTypes = nil 130 file_cmd_protoc_gen_go_testdata_imports_test_a_2_m3_proto_depIdxs = nil 131} 132