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/import_public/sub/b.proto 7 8package sub 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 M2 struct { 18 state protoimpl.MessageState 19 sizeCache protoimpl.SizeCache 20 unknownFields protoimpl.UnknownFields 21} 22 23func (x *M2) Reset() { 24 *x = M2{} 25 if protoimpl.UnsafeEnabled { 26 mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_msgTypes[0] 27 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 28 ms.StoreMessageInfo(mi) 29 } 30} 31 32func (x *M2) String() string { 33 return protoimpl.X.MessageStringOf(x) 34} 35 36func (*M2) ProtoMessage() {} 37 38func (x *M2) ProtoReflect() protoreflect.Message { 39 mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_b_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 M2.ProtoReflect.Descriptor instead. 51func (*M2) Descriptor() ([]byte, []int) { 52 return file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescGZIP(), []int{0} 53} 54 55var File_cmd_protoc_gen_go_testdata_import_public_sub_b_proto protoreflect.FileDescriptor 56 57var file_cmd_protoc_gen_go_testdata_import_public_sub_b_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, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x2f, 0x62, 61 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 62 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 63 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x73, 0x75, 0x62, 0x22, 0x04, 0x0a, 0x02, 0x4d, 0x32, 0x42, 0x49, 64 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 65 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 66 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 67 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 68 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 69} 70 71var ( 72 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescOnce sync.Once 73 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescData = file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDesc 74) 75 76func file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescGZIP() []byte { 77 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescOnce.Do(func() { 78 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescData) 79 }) 80 return file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDescData 81} 82 83var file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 84var file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_goTypes = []interface{}{ 85 (*M2)(nil), // 0: goproto.protoc.import_public.sub.M2 86} 87var file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_depIdxs = []int32{ 88 0, // [0:0] is the sub-list for method output_type 89 0, // [0:0] is the sub-list for method input_type 90 0, // [0:0] is the sub-list for extension type_name 91 0, // [0:0] is the sub-list for extension extendee 92 0, // [0:0] is the sub-list for field type_name 93} 94 95func init() { file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_init() } 96func file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_init() { 97 if File_cmd_protoc_gen_go_testdata_import_public_sub_b_proto != nil { 98 return 99 } 100 if !protoimpl.UnsafeEnabled { 101 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 102 switch v := v.(*M2); i { 103 case 0: 104 return &v.state 105 case 1: 106 return &v.sizeCache 107 case 2: 108 return &v.unknownFields 109 default: 110 return nil 111 } 112 } 113 } 114 type x struct{} 115 out := protoimpl.TypeBuilder{ 116 File: protoimpl.DescBuilder{ 117 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 118 RawDescriptor: file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDesc, 119 NumEnums: 0, 120 NumMessages: 1, 121 NumExtensions: 0, 122 NumServices: 0, 123 }, 124 GoTypes: file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_goTypes, 125 DependencyIndexes: file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_depIdxs, 126 MessageInfos: file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_msgTypes, 127 }.Build() 128 File_cmd_protoc_gen_go_testdata_import_public_sub_b_proto = out.File 129 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_rawDesc = nil 130 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_goTypes = nil 131 file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_depIdxs = nil 132} 133