github.com/imannamdari/v2ray-core/v5@v5.0.5/common/protoext/testing/test.pb.go (about) 1 package testing 2 3 import ( 4 reflect "reflect" 5 sync "sync" 6 7 _ "github.com/imannamdari/v2ray-core/v5/common/protoext" 8 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 9 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 10 ) 11 12 const ( 13 // Verify that this generated code is sufficiently up-to-date. 14 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 15 // Verify that runtime/protoimpl is sufficiently up-to-date. 16 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 17 ) 18 19 type TestingMessage struct { 20 state protoimpl.MessageState 21 sizeCache protoimpl.SizeCache 22 unknownFields protoimpl.UnknownFields 23 24 TestField string `protobuf:"bytes,1,opt,name=test_field,json=testField,proto3" json:"test_field,omitempty"` 25 } 26 27 func (x *TestingMessage) Reset() { 28 *x = TestingMessage{} 29 if protoimpl.UnsafeEnabled { 30 mi := &file_common_protoext_testing_test_proto_msgTypes[0] 31 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 32 ms.StoreMessageInfo(mi) 33 } 34 } 35 36 func (x *TestingMessage) String() string { 37 return protoimpl.X.MessageStringOf(x) 38 } 39 40 func (*TestingMessage) ProtoMessage() {} 41 42 func (x *TestingMessage) ProtoReflect() protoreflect.Message { 43 mi := &file_common_protoext_testing_test_proto_msgTypes[0] 44 if protoimpl.UnsafeEnabled && x != nil { 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 if ms.LoadMessageInfo() == nil { 47 ms.StoreMessageInfo(mi) 48 } 49 return ms 50 } 51 return mi.MessageOf(x) 52 } 53 54 // Deprecated: Use TestingMessage.ProtoReflect.Descriptor instead. 55 func (*TestingMessage) Descriptor() ([]byte, []int) { 56 return file_common_protoext_testing_test_proto_rawDescGZIP(), []int{0} 57 } 58 59 func (x *TestingMessage) GetTestField() string { 60 if x != nil { 61 return x.TestField 62 } 63 return "" 64 } 65 66 var File_common_protoext_testing_test_proto protoreflect.FileDescriptor 67 68 var file_common_protoext_testing_test_proto_rawDesc = []byte{ 69 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 70 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 71 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 72 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 73 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 74 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 75 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x0e, 0x54, 0x65, 76 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x0a, 77 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 78 0x42, 0x15, 0x82, 0xb5, 0x18, 0x06, 0x12, 0x04, 0x74, 0x65, 0x73, 0x74, 0x82, 0xb5, 0x18, 0x07, 79 0x12, 0x05, 0x74, 0x65, 0x73, 0x74, 0x32, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 80 0x6c, 0x64, 0x3a, 0x15, 0x82, 0xb5, 0x18, 0x06, 0x0a, 0x04, 0x64, 0x65, 0x6d, 0x6f, 0x82, 0xb5, 81 0x18, 0x07, 0x0a, 0x05, 0x64, 0x65, 0x6d, 0x6f, 0x32, 0x42, 0x84, 0x01, 0x0a, 0x26, 0x63, 0x6f, 82 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 83 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2e, 0x74, 0x65, 0x73, 84 0x74, 0x69, 0x6e, 0x67, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 85 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 86 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 87 0x65, 0x78, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x22, 0x56, 0x32, 88 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 89 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x78, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 90 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 91 } 92 93 var ( 94 file_common_protoext_testing_test_proto_rawDescOnce sync.Once 95 file_common_protoext_testing_test_proto_rawDescData = file_common_protoext_testing_test_proto_rawDesc 96 ) 97 98 func file_common_protoext_testing_test_proto_rawDescGZIP() []byte { 99 file_common_protoext_testing_test_proto_rawDescOnce.Do(func() { 100 file_common_protoext_testing_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_protoext_testing_test_proto_rawDescData) 101 }) 102 return file_common_protoext_testing_test_proto_rawDescData 103 } 104 105 var file_common_protoext_testing_test_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 106 var file_common_protoext_testing_test_proto_goTypes = []interface{}{ 107 (*TestingMessage)(nil), // 0: v2ray.core.common.protoext.testing.TestingMessage 108 } 109 var file_common_protoext_testing_test_proto_depIdxs = []int32{ 110 0, // [0:0] is the sub-list for method output_type 111 0, // [0:0] is the sub-list for method input_type 112 0, // [0:0] is the sub-list for extension type_name 113 0, // [0:0] is the sub-list for extension extendee 114 0, // [0:0] is the sub-list for field type_name 115 } 116 117 func init() { file_common_protoext_testing_test_proto_init() } 118 func file_common_protoext_testing_test_proto_init() { 119 if File_common_protoext_testing_test_proto != nil { 120 return 121 } 122 if !protoimpl.UnsafeEnabled { 123 file_common_protoext_testing_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 124 switch v := v.(*TestingMessage); i { 125 case 0: 126 return &v.state 127 case 1: 128 return &v.sizeCache 129 case 2: 130 return &v.unknownFields 131 default: 132 return nil 133 } 134 } 135 } 136 type x struct{} 137 out := protoimpl.TypeBuilder{ 138 File: protoimpl.DescBuilder{ 139 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 140 RawDescriptor: file_common_protoext_testing_test_proto_rawDesc, 141 NumEnums: 0, 142 NumMessages: 1, 143 NumExtensions: 0, 144 NumServices: 0, 145 }, 146 GoTypes: file_common_protoext_testing_test_proto_goTypes, 147 DependencyIndexes: file_common_protoext_testing_test_proto_depIdxs, 148 MessageInfos: file_common_protoext_testing_test_proto_msgTypes, 149 }.Build() 150 File_common_protoext_testing_test_proto = out.File 151 file_common_protoext_testing_test_proto_rawDesc = nil 152 file_common_protoext_testing_test_proto_goTypes = nil 153 file_common_protoext_testing_test_proto_depIdxs = nil 154 }