github.com/google/cloudprober@v0.11.3/probes/testdata/testdata.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.17.3 5 // source: github.com/google/cloudprober/probes/testdata/testdata.proto 6 7 package testdata 8 9 import ( 10 proto "github.com/google/cloudprober/probes/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type FancyProbe struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 30 } 31 32 func (x *FancyProbe) Reset() { 33 *x = FancyProbe{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *FancyProbe) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*FancyProbe) ProtoMessage() {} 46 47 func (x *FancyProbe) ProtoReflect() protoreflect.Message { 48 mi := &file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use FancyProbe.ProtoReflect.Descriptor instead. 60 func (*FancyProbe) Descriptor() ([]byte, []int) { 61 return file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *FancyProbe) GetName() string { 65 if x != nil && x.Name != nil { 66 return *x.Name 67 } 68 return "" 69 } 70 71 type AnotherFancyProbe struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 77 } 78 79 func (x *AnotherFancyProbe) Reset() { 80 *x = AnotherFancyProbe{} 81 if protoimpl.UnsafeEnabled { 82 mi := &file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[1] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 } 87 88 func (x *AnotherFancyProbe) String() string { 89 return protoimpl.X.MessageStringOf(x) 90 } 91 92 func (*AnotherFancyProbe) ProtoMessage() {} 93 94 func (x *AnotherFancyProbe) ProtoReflect() protoreflect.Message { 95 mi := &file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[1] 96 if protoimpl.UnsafeEnabled && x != nil { 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 if ms.LoadMessageInfo() == nil { 99 ms.StoreMessageInfo(mi) 100 } 101 return ms 102 } 103 return mi.MessageOf(x) 104 } 105 106 // Deprecated: Use AnotherFancyProbe.ProtoReflect.Descriptor instead. 107 func (*AnotherFancyProbe) Descriptor() ([]byte, []int) { 108 return file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescGZIP(), []int{1} 109 } 110 111 func (x *AnotherFancyProbe) GetName() string { 112 if x != nil && x.Name != nil { 113 return *x.Name 114 } 115 return "" 116 } 117 118 var file_github_com_google_cloudprober_probes_testdata_testdata_proto_extTypes = []protoimpl.ExtensionInfo{ 119 { 120 ExtendedType: (*proto.ProbeDef)(nil), 121 ExtensionType: (*FancyProbe)(nil), 122 Field: 200, 123 Name: "cloudprober.probes.testdata.fancy_probe", 124 Tag: "bytes,200,opt,name=fancy_probe", 125 Filename: "github.com/google/cloudprober/probes/testdata/testdata.proto", 126 }, 127 { 128 ExtendedType: (*proto.ProbeDef)(nil), 129 ExtensionType: (*AnotherFancyProbe)(nil), 130 Field: 201, 131 Name: "cloudprober.probes.testdata.another_fancy_probe", 132 Tag: "bytes,201,opt,name=another_fancy_probe", 133 Filename: "github.com/google/cloudprober/probes/testdata/testdata.proto", 134 }, 135 } 136 137 // Extension fields to proto.ProbeDef. 138 var ( 139 // optional cloudprober.probes.testdata.FancyProbe fancy_probe = 200; 140 E_FancyProbe = &file_github_com_google_cloudprober_probes_testdata_testdata_proto_extTypes[0] 141 // optional cloudprober.probes.testdata.AnotherFancyProbe another_fancy_probe = 201; 142 E_AnotherFancyProbe = &file_github_com_google_cloudprober_probes_testdata_testdata_proto_extTypes[1] 143 ) 144 145 var File_github_com_google_cloudprober_probes_testdata_testdata_proto protoreflect.FileDescriptor 146 147 var file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDesc = []byte{ 148 0x0a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 149 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 150 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 151 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 152 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 153 0x65, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x67, 0x69, 0x74, 154 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 155 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 156 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 157 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x0a, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x50, 0x72, 0x6f, 158 0x62, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 159 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 160 0x72, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 161 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 162 0x67, 0x0a, 0x0b, 0x66, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x1c, 163 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 164 0x62, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x44, 0x65, 0x66, 0x18, 0xc8, 0x01, 0x20, 165 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 166 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 167 0x61, 0x2e, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x0a, 0x66, 0x61, 168 0x6e, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x3a, 0x7d, 0x0a, 0x13, 0x61, 0x6e, 0x6f, 0x74, 169 0x68, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x12, 170 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 171 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x44, 0x65, 0x66, 0x18, 0xc9, 0x01, 172 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 173 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 174 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x50, 175 0x72, 0x6f, 0x62, 0x65, 0x52, 0x11, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x46, 0x61, 0x6e, 176 0x63, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 177 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 178 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 179 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 180 } 181 182 var ( 183 file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescOnce sync.Once 184 file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescData = file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDesc 185 ) 186 187 func file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescGZIP() []byte { 188 file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescOnce.Do(func() { 189 file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescData) 190 }) 191 return file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDescData 192 } 193 194 var file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 195 var file_github_com_google_cloudprober_probes_testdata_testdata_proto_goTypes = []interface{}{ 196 (*FancyProbe)(nil), // 0: cloudprober.probes.testdata.FancyProbe 197 (*AnotherFancyProbe)(nil), // 1: cloudprober.probes.testdata.AnotherFancyProbe 198 (*proto.ProbeDef)(nil), // 2: cloudprober.probes.ProbeDef 199 } 200 var file_github_com_google_cloudprober_probes_testdata_testdata_proto_depIdxs = []int32{ 201 2, // 0: cloudprober.probes.testdata.fancy_probe:extendee -> cloudprober.probes.ProbeDef 202 2, // 1: cloudprober.probes.testdata.another_fancy_probe:extendee -> cloudprober.probes.ProbeDef 203 0, // 2: cloudprober.probes.testdata.fancy_probe:type_name -> cloudprober.probes.testdata.FancyProbe 204 1, // 3: cloudprober.probes.testdata.another_fancy_probe:type_name -> cloudprober.probes.testdata.AnotherFancyProbe 205 4, // [4:4] is the sub-list for method output_type 206 4, // [4:4] is the sub-list for method input_type 207 2, // [2:4] is the sub-list for extension type_name 208 0, // [0:2] is the sub-list for extension extendee 209 0, // [0:0] is the sub-list for field type_name 210 } 211 212 func init() { file_github_com_google_cloudprober_probes_testdata_testdata_proto_init() } 213 func file_github_com_google_cloudprober_probes_testdata_testdata_proto_init() { 214 if File_github_com_google_cloudprober_probes_testdata_testdata_proto != nil { 215 return 216 } 217 if !protoimpl.UnsafeEnabled { 218 file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 219 switch v := v.(*FancyProbe); i { 220 case 0: 221 return &v.state 222 case 1: 223 return &v.sizeCache 224 case 2: 225 return &v.unknownFields 226 default: 227 return nil 228 } 229 } 230 file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 231 switch v := v.(*AnotherFancyProbe); i { 232 case 0: 233 return &v.state 234 case 1: 235 return &v.sizeCache 236 case 2: 237 return &v.unknownFields 238 default: 239 return nil 240 } 241 } 242 } 243 type x struct{} 244 out := protoimpl.TypeBuilder{ 245 File: protoimpl.DescBuilder{ 246 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 247 RawDescriptor: file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDesc, 248 NumEnums: 0, 249 NumMessages: 2, 250 NumExtensions: 2, 251 NumServices: 0, 252 }, 253 GoTypes: file_github_com_google_cloudprober_probes_testdata_testdata_proto_goTypes, 254 DependencyIndexes: file_github_com_google_cloudprober_probes_testdata_testdata_proto_depIdxs, 255 MessageInfos: file_github_com_google_cloudprober_probes_testdata_testdata_proto_msgTypes, 256 ExtensionInfos: file_github_com_google_cloudprober_probes_testdata_testdata_proto_extTypes, 257 }.Build() 258 File_github_com_google_cloudprober_probes_testdata_testdata_proto = out.File 259 file_github_com_google_cloudprober_probes_testdata_testdata_proto_rawDesc = nil 260 file_github_com_google_cloudprober_probes_testdata_testdata_proto_goTypes = nil 261 file_github_com_google_cloudprober_probes_testdata_testdata_proto_depIdxs = nil 262 }