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