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