github.com/s7techlab/cckit@v0.10.5/extensions/crosscc/cclocator_setting.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: crosscc/cclocator_setting.proto 6 7 package crosscc 8 9 import ( 10 context "context" 11 _ "google.golang.org/genproto/googleapis/api/annotations" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 emptypb "google.golang.org/protobuf/types/known/emptypb" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // Request: set service resolving setting 30 type ServiceLocatorSetRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // service identifier 36 Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // channel id 37 Chaincode string `protobuf:"bytes,3,opt,name=chaincode,proto3" json:"chaincode,omitempty"` // chaincode name 38 } 39 40 func (x *ServiceLocatorSetRequest) Reset() { 41 *x = ServiceLocatorSetRequest{} 42 if protoimpl.UnsafeEnabled { 43 mi := &file_crosscc_cclocator_setting_proto_msgTypes[0] 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 ms.StoreMessageInfo(mi) 46 } 47 } 48 49 func (x *ServiceLocatorSetRequest) String() string { 50 return protoimpl.X.MessageStringOf(x) 51 } 52 53 func (*ServiceLocatorSetRequest) ProtoMessage() {} 54 55 func (x *ServiceLocatorSetRequest) ProtoReflect() protoreflect.Message { 56 mi := &file_crosscc_cclocator_setting_proto_msgTypes[0] 57 if protoimpl.UnsafeEnabled && x != nil { 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 if ms.LoadMessageInfo() == nil { 60 ms.StoreMessageInfo(mi) 61 } 62 return ms 63 } 64 return mi.MessageOf(x) 65 } 66 67 // Deprecated: Use ServiceLocatorSetRequest.ProtoReflect.Descriptor instead. 68 func (*ServiceLocatorSetRequest) Descriptor() ([]byte, []int) { 69 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{0} 70 } 71 72 func (x *ServiceLocatorSetRequest) GetService() string { 73 if x != nil { 74 return x.Service 75 } 76 return "" 77 } 78 79 func (x *ServiceLocatorSetRequest) GetChannel() string { 80 if x != nil { 81 return x.Channel 82 } 83 return "" 84 } 85 86 func (x *ServiceLocatorSetRequest) GetChaincode() string { 87 if x != nil { 88 return x.Chaincode 89 } 90 return "" 91 } 92 93 // State: ervice resolving setting 94 type ServiceLocator struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // service identifier 100 Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // channel id 101 Chaincode string `protobuf:"bytes,3,opt,name=chaincode,proto3" json:"chaincode,omitempty"` // chaincode name 102 } 103 104 func (x *ServiceLocator) Reset() { 105 *x = ServiceLocator{} 106 if protoimpl.UnsafeEnabled { 107 mi := &file_crosscc_cclocator_setting_proto_msgTypes[1] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (x *ServiceLocator) String() string { 114 return protoimpl.X.MessageStringOf(x) 115 } 116 117 func (*ServiceLocator) ProtoMessage() {} 118 119 func (x *ServiceLocator) ProtoReflect() protoreflect.Message { 120 mi := &file_crosscc_cclocator_setting_proto_msgTypes[1] 121 if protoimpl.UnsafeEnabled && x != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(x) 129 } 130 131 // Deprecated: Use ServiceLocator.ProtoReflect.Descriptor instead. 132 func (*ServiceLocator) Descriptor() ([]byte, []int) { 133 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{1} 134 } 135 136 func (x *ServiceLocator) GetService() string { 137 if x != nil { 138 return x.Service 139 } 140 return "" 141 } 142 143 func (x *ServiceLocator) GetChannel() string { 144 if x != nil { 145 return x.Channel 146 } 147 return "" 148 } 149 150 func (x *ServiceLocator) GetChaincode() string { 151 if x != nil { 152 return x.Chaincode 153 } 154 return "" 155 } 156 157 // Id: service resolving setting identifier 158 type ServiceLocatorId struct { 159 state protoimpl.MessageState 160 sizeCache protoimpl.SizeCache 161 unknownFields protoimpl.UnknownFields 162 163 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // service identifier 164 } 165 166 func (x *ServiceLocatorId) Reset() { 167 *x = ServiceLocatorId{} 168 if protoimpl.UnsafeEnabled { 169 mi := &file_crosscc_cclocator_setting_proto_msgTypes[2] 170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 171 ms.StoreMessageInfo(mi) 172 } 173 } 174 175 func (x *ServiceLocatorId) String() string { 176 return protoimpl.X.MessageStringOf(x) 177 } 178 179 func (*ServiceLocatorId) ProtoMessage() {} 180 181 func (x *ServiceLocatorId) ProtoReflect() protoreflect.Message { 182 mi := &file_crosscc_cclocator_setting_proto_msgTypes[2] 183 if protoimpl.UnsafeEnabled && x != nil { 184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 185 if ms.LoadMessageInfo() == nil { 186 ms.StoreMessageInfo(mi) 187 } 188 return ms 189 } 190 return mi.MessageOf(x) 191 } 192 193 // Deprecated: Use ServiceLocatorId.ProtoReflect.Descriptor instead. 194 func (*ServiceLocatorId) Descriptor() ([]byte, []int) { 195 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{2} 196 } 197 198 func (x *ServiceLocatorId) GetService() string { 199 if x != nil { 200 return x.Service 201 } 202 return "" 203 } 204 205 // List: service resolving settings 206 type ServiceLocators struct { 207 state protoimpl.MessageState 208 sizeCache protoimpl.SizeCache 209 unknownFields protoimpl.UnknownFields 210 211 Items []*ServiceLocator `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 212 } 213 214 func (x *ServiceLocators) Reset() { 215 *x = ServiceLocators{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_crosscc_cclocator_setting_proto_msgTypes[3] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221 } 222 223 func (x *ServiceLocators) String() string { 224 return protoimpl.X.MessageStringOf(x) 225 } 226 227 func (*ServiceLocators) ProtoMessage() {} 228 229 func (x *ServiceLocators) ProtoReflect() protoreflect.Message { 230 mi := &file_crosscc_cclocator_setting_proto_msgTypes[3] 231 if protoimpl.UnsafeEnabled && x != nil { 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 if ms.LoadMessageInfo() == nil { 234 ms.StoreMessageInfo(mi) 235 } 236 return ms 237 } 238 return mi.MessageOf(x) 239 } 240 241 // Deprecated: Use ServiceLocators.ProtoReflect.Descriptor instead. 242 func (*ServiceLocators) Descriptor() ([]byte, []int) { 243 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{3} 244 } 245 246 func (x *ServiceLocators) GetItems() []*ServiceLocator { 247 if x != nil { 248 return x.Items 249 } 250 return nil 251 } 252 253 // Event: service resolving settings was set 254 type ServiceLocatorSet struct { 255 state protoimpl.MessageState 256 sizeCache protoimpl.SizeCache 257 unknownFields protoimpl.UnknownFields 258 259 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // service identifier 260 Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // channel id 261 Chaincode string `protobuf:"bytes,3,opt,name=chaincode,proto3" json:"chaincode,omitempty"` // chaincode name 262 } 263 264 func (x *ServiceLocatorSet) Reset() { 265 *x = ServiceLocatorSet{} 266 if protoimpl.UnsafeEnabled { 267 mi := &file_crosscc_cclocator_setting_proto_msgTypes[4] 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 ms.StoreMessageInfo(mi) 270 } 271 } 272 273 func (x *ServiceLocatorSet) String() string { 274 return protoimpl.X.MessageStringOf(x) 275 } 276 277 func (*ServiceLocatorSet) ProtoMessage() {} 278 279 func (x *ServiceLocatorSet) ProtoReflect() protoreflect.Message { 280 mi := &file_crosscc_cclocator_setting_proto_msgTypes[4] 281 if protoimpl.UnsafeEnabled && x != nil { 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 if ms.LoadMessageInfo() == nil { 284 ms.StoreMessageInfo(mi) 285 } 286 return ms 287 } 288 return mi.MessageOf(x) 289 } 290 291 // Deprecated: Use ServiceLocatorSet.ProtoReflect.Descriptor instead. 292 func (*ServiceLocatorSet) Descriptor() ([]byte, []int) { 293 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{4} 294 } 295 296 func (x *ServiceLocatorSet) GetService() string { 297 if x != nil { 298 return x.Service 299 } 300 return "" 301 } 302 303 func (x *ServiceLocatorSet) GetChannel() string { 304 if x != nil { 305 return x.Channel 306 } 307 return "" 308 } 309 310 func (x *ServiceLocatorSet) GetChaincode() string { 311 if x != nil { 312 return x.Chaincode 313 } 314 return "" 315 } 316 317 type PingServiceResponse struct { 318 state protoimpl.MessageState 319 sizeCache protoimpl.SizeCache 320 unknownFields protoimpl.UnknownFields 321 322 Locator *ServiceLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"` 323 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 324 } 325 326 func (x *PingServiceResponse) Reset() { 327 *x = PingServiceResponse{} 328 if protoimpl.UnsafeEnabled { 329 mi := &file_crosscc_cclocator_setting_proto_msgTypes[5] 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 ms.StoreMessageInfo(mi) 332 } 333 } 334 335 func (x *PingServiceResponse) String() string { 336 return protoimpl.X.MessageStringOf(x) 337 } 338 339 func (*PingServiceResponse) ProtoMessage() {} 340 341 func (x *PingServiceResponse) ProtoReflect() protoreflect.Message { 342 mi := &file_crosscc_cclocator_setting_proto_msgTypes[5] 343 if protoimpl.UnsafeEnabled && x != nil { 344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 345 if ms.LoadMessageInfo() == nil { 346 ms.StoreMessageInfo(mi) 347 } 348 return ms 349 } 350 return mi.MessageOf(x) 351 } 352 353 // Deprecated: Use PingServiceResponse.ProtoReflect.Descriptor instead. 354 func (*PingServiceResponse) Descriptor() ([]byte, []int) { 355 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{5} 356 } 357 358 func (x *PingServiceResponse) GetLocator() *ServiceLocator { 359 if x != nil { 360 return x.Locator 361 } 362 return nil 363 } 364 365 func (x *PingServiceResponse) GetError() string { 366 if x != nil { 367 return x.Error 368 } 369 return "" 370 } 371 372 type PingServiceResponses struct { 373 state protoimpl.MessageState 374 sizeCache protoimpl.SizeCache 375 unknownFields protoimpl.UnknownFields 376 377 Responses []*PingServiceResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` 378 } 379 380 func (x *PingServiceResponses) Reset() { 381 *x = PingServiceResponses{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_crosscc_cclocator_setting_proto_msgTypes[6] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (x *PingServiceResponses) String() string { 390 return protoimpl.X.MessageStringOf(x) 391 } 392 393 func (*PingServiceResponses) ProtoMessage() {} 394 395 func (x *PingServiceResponses) ProtoReflect() protoreflect.Message { 396 mi := &file_crosscc_cclocator_setting_proto_msgTypes[6] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405 } 406 407 // Deprecated: Use PingServiceResponses.ProtoReflect.Descriptor instead. 408 func (*PingServiceResponses) Descriptor() ([]byte, []int) { 409 return file_crosscc_cclocator_setting_proto_rawDescGZIP(), []int{6} 410 } 411 412 func (x *PingServiceResponses) GetResponses() []*PingServiceResponse { 413 if x != nil { 414 return x.Responses 415 } 416 return nil 417 } 418 419 var File_crosscc_cclocator_setting_proto protoreflect.FileDescriptor 420 421 var file_crosscc_cclocator_setting_proto_rawDesc = []byte{ 422 0x0a, 0x1f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 0x2f, 0x63, 0x63, 0x6c, 0x6f, 0x63, 0x61, 423 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 424 0x6f, 0x12, 0x07, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 425 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 426 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 427 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 428 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 429 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 430 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 431 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 432 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 433 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 434 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 435 0x6f, 0x64, 0x65, 0x22, 0x62, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 436 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 437 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 438 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 439 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 440 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 441 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x69, 442 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 443 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 444 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x40, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 445 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 446 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 447 0x63, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 448 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x65, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 449 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 450 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 451 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 452 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 453 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 454 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x5e, 455 0x0a, 0x13, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 456 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 457 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 458 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 459 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 460 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x52, 461 0x0a, 0x14, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 462 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 463 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x72, 0x6f, 0x73, 464 0x73, 0x63, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 465 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 466 0x65, 0x73, 0x32, 0x8a, 0x04, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 467 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 468 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x63, 0x72, 0x6f, 469 0x73, 0x73, 0x63, 0x63, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 470 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 471 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 472 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 473 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x63, 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 474 0x3a, 0x01, 0x2a, 0x12, 0x62, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 475 0x63, 0x61, 0x74, 0x6f, 0x72, 0x47, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 476 0x63, 0x63, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 477 0x72, 0x49, 0x64, 0x1a, 0x17, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 0x2e, 0x53, 0x65, 478 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x19, 0x82, 0xd3, 479 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x63, 0x63, 0x2f, 0x7b, 0x73, 480 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x12, 0x61, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 481 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x16, 482 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 483 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x18, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 484 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x73, 485 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x63, 486 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x66, 0x0a, 0x0b, 0x50, 0x69, 487 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x63, 0x72, 0x6f, 0x73, 488 0x73, 0x63, 0x63, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 489 0x6f, 0x72, 0x49, 0x64, 0x1a, 0x1c, 0x2e, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 0x2e, 0x50, 490 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 491 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x63, 0x72, 0x6f, 492 0x73, 0x63, 0x63, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 493 0x65, 0x7d, 0x12, 0x5b, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 494 0x65, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 495 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x63, 0x72, 0x6f, 496 0x73, 0x73, 0x63, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 497 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 498 0x0e, 0x12, 0x0c, 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x63, 0x63, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x42, 499 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x37, 500 0x74, 0x65, 0x63, 0x68, 0x6c, 0x61, 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69, 0x74, 0x2f, 0x65, 0x78, 501 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x63, 0x63, 502 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 503 } 504 505 var ( 506 file_crosscc_cclocator_setting_proto_rawDescOnce sync.Once 507 file_crosscc_cclocator_setting_proto_rawDescData = file_crosscc_cclocator_setting_proto_rawDesc 508 ) 509 510 func file_crosscc_cclocator_setting_proto_rawDescGZIP() []byte { 511 file_crosscc_cclocator_setting_proto_rawDescOnce.Do(func() { 512 file_crosscc_cclocator_setting_proto_rawDescData = protoimpl.X.CompressGZIP(file_crosscc_cclocator_setting_proto_rawDescData) 513 }) 514 return file_crosscc_cclocator_setting_proto_rawDescData 515 } 516 517 var file_crosscc_cclocator_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 518 var file_crosscc_cclocator_setting_proto_goTypes = []interface{}{ 519 (*ServiceLocatorSetRequest)(nil), // 0: crosscc.ServiceLocatorSetRequest 520 (*ServiceLocator)(nil), // 1: crosscc.ServiceLocator 521 (*ServiceLocatorId)(nil), // 2: crosscc.ServiceLocatorId 522 (*ServiceLocators)(nil), // 3: crosscc.ServiceLocators 523 (*ServiceLocatorSet)(nil), // 4: crosscc.ServiceLocatorSet 524 (*PingServiceResponse)(nil), // 5: crosscc.PingServiceResponse 525 (*PingServiceResponses)(nil), // 6: crosscc.PingServiceResponses 526 (*emptypb.Empty)(nil), // 7: google.protobuf.Empty 527 } 528 var file_crosscc_cclocator_setting_proto_depIdxs = []int32{ 529 1, // 0: crosscc.ServiceLocators.items:type_name -> crosscc.ServiceLocator 530 1, // 1: crosscc.PingServiceResponse.locator:type_name -> crosscc.ServiceLocator 531 5, // 2: crosscc.PingServiceResponses.responses:type_name -> crosscc.PingServiceResponse 532 0, // 3: crosscc.SettingService.ServiceLocatorSet:input_type -> crosscc.ServiceLocatorSetRequest 533 2, // 4: crosscc.SettingService.ServiceLocatorGet:input_type -> crosscc.ServiceLocatorId 534 7, // 5: crosscc.SettingService.ListServiceLocators:input_type -> google.protobuf.Empty 535 2, // 6: crosscc.SettingService.PingService:input_type -> crosscc.ServiceLocatorId 536 7, // 7: crosscc.SettingService.PingServices:input_type -> google.protobuf.Empty 537 1, // 8: crosscc.SettingService.ServiceLocatorSet:output_type -> crosscc.ServiceLocator 538 1, // 9: crosscc.SettingService.ServiceLocatorGet:output_type -> crosscc.ServiceLocator 539 3, // 10: crosscc.SettingService.ListServiceLocators:output_type -> crosscc.ServiceLocators 540 5, // 11: crosscc.SettingService.PingService:output_type -> crosscc.PingServiceResponse 541 6, // 12: crosscc.SettingService.PingServices:output_type -> crosscc.PingServiceResponses 542 8, // [8:13] is the sub-list for method output_type 543 3, // [3:8] is the sub-list for method input_type 544 3, // [3:3] is the sub-list for extension type_name 545 3, // [3:3] is the sub-list for extension extendee 546 0, // [0:3] is the sub-list for field type_name 547 } 548 549 func init() { file_crosscc_cclocator_setting_proto_init() } 550 func file_crosscc_cclocator_setting_proto_init() { 551 if File_crosscc_cclocator_setting_proto != nil { 552 return 553 } 554 if !protoimpl.UnsafeEnabled { 555 file_crosscc_cclocator_setting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 556 switch v := v.(*ServiceLocatorSetRequest); i { 557 case 0: 558 return &v.state 559 case 1: 560 return &v.sizeCache 561 case 2: 562 return &v.unknownFields 563 default: 564 return nil 565 } 566 } 567 file_crosscc_cclocator_setting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 568 switch v := v.(*ServiceLocator); i { 569 case 0: 570 return &v.state 571 case 1: 572 return &v.sizeCache 573 case 2: 574 return &v.unknownFields 575 default: 576 return nil 577 } 578 } 579 file_crosscc_cclocator_setting_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 580 switch v := v.(*ServiceLocatorId); i { 581 case 0: 582 return &v.state 583 case 1: 584 return &v.sizeCache 585 case 2: 586 return &v.unknownFields 587 default: 588 return nil 589 } 590 } 591 file_crosscc_cclocator_setting_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 592 switch v := v.(*ServiceLocators); i { 593 case 0: 594 return &v.state 595 case 1: 596 return &v.sizeCache 597 case 2: 598 return &v.unknownFields 599 default: 600 return nil 601 } 602 } 603 file_crosscc_cclocator_setting_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 604 switch v := v.(*ServiceLocatorSet); i { 605 case 0: 606 return &v.state 607 case 1: 608 return &v.sizeCache 609 case 2: 610 return &v.unknownFields 611 default: 612 return nil 613 } 614 } 615 file_crosscc_cclocator_setting_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 616 switch v := v.(*PingServiceResponse); i { 617 case 0: 618 return &v.state 619 case 1: 620 return &v.sizeCache 621 case 2: 622 return &v.unknownFields 623 default: 624 return nil 625 } 626 } 627 file_crosscc_cclocator_setting_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 628 switch v := v.(*PingServiceResponses); i { 629 case 0: 630 return &v.state 631 case 1: 632 return &v.sizeCache 633 case 2: 634 return &v.unknownFields 635 default: 636 return nil 637 } 638 } 639 } 640 type x struct{} 641 out := protoimpl.TypeBuilder{ 642 File: protoimpl.DescBuilder{ 643 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 644 RawDescriptor: file_crosscc_cclocator_setting_proto_rawDesc, 645 NumEnums: 0, 646 NumMessages: 7, 647 NumExtensions: 0, 648 NumServices: 1, 649 }, 650 GoTypes: file_crosscc_cclocator_setting_proto_goTypes, 651 DependencyIndexes: file_crosscc_cclocator_setting_proto_depIdxs, 652 MessageInfos: file_crosscc_cclocator_setting_proto_msgTypes, 653 }.Build() 654 File_crosscc_cclocator_setting_proto = out.File 655 file_crosscc_cclocator_setting_proto_rawDesc = nil 656 file_crosscc_cclocator_setting_proto_goTypes = nil 657 file_crosscc_cclocator_setting_proto_depIdxs = nil 658 } 659 660 // Reference imports to suppress errors if they are not otherwise used. 661 var _ context.Context 662 var _ grpc.ClientConnInterface 663 664 // This is a compile-time assertion to ensure that this generated file 665 // is compatible with the grpc package it is being compiled against. 666 const _ = grpc.SupportPackageIsVersion6 667 668 // SettingServiceClient is the client API for SettingService service. 669 // 670 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 671 type SettingServiceClient interface { 672 ServiceLocatorSet(ctx context.Context, in *ServiceLocatorSetRequest, opts ...grpc.CallOption) (*ServiceLocator, error) 673 ServiceLocatorGet(ctx context.Context, in *ServiceLocatorId, opts ...grpc.CallOption) (*ServiceLocator, error) 674 ListServiceLocators(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServiceLocators, error) 675 // Try to query chaincodes from service chaincode settings 676 PingService(ctx context.Context, in *ServiceLocatorId, opts ...grpc.CallOption) (*PingServiceResponse, error) 677 PingServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingServiceResponses, error) 678 } 679 680 type settingServiceClient struct { 681 cc grpc.ClientConnInterface 682 } 683 684 func NewSettingServiceClient(cc grpc.ClientConnInterface) SettingServiceClient { 685 return &settingServiceClient{cc} 686 } 687 688 func (c *settingServiceClient) ServiceLocatorSet(ctx context.Context, in *ServiceLocatorSetRequest, opts ...grpc.CallOption) (*ServiceLocator, error) { 689 out := new(ServiceLocator) 690 err := c.cc.Invoke(ctx, "/crosscc.SettingService/ServiceLocatorSet", in, out, opts...) 691 if err != nil { 692 return nil, err 693 } 694 return out, nil 695 } 696 697 func (c *settingServiceClient) ServiceLocatorGet(ctx context.Context, in *ServiceLocatorId, opts ...grpc.CallOption) (*ServiceLocator, error) { 698 out := new(ServiceLocator) 699 err := c.cc.Invoke(ctx, "/crosscc.SettingService/ServiceLocatorGet", in, out, opts...) 700 if err != nil { 701 return nil, err 702 } 703 return out, nil 704 } 705 706 func (c *settingServiceClient) ListServiceLocators(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServiceLocators, error) { 707 out := new(ServiceLocators) 708 err := c.cc.Invoke(ctx, "/crosscc.SettingService/ListServiceLocators", in, out, opts...) 709 if err != nil { 710 return nil, err 711 } 712 return out, nil 713 } 714 715 func (c *settingServiceClient) PingService(ctx context.Context, in *ServiceLocatorId, opts ...grpc.CallOption) (*PingServiceResponse, error) { 716 out := new(PingServiceResponse) 717 err := c.cc.Invoke(ctx, "/crosscc.SettingService/PingService", in, out, opts...) 718 if err != nil { 719 return nil, err 720 } 721 return out, nil 722 } 723 724 func (c *settingServiceClient) PingServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingServiceResponses, error) { 725 out := new(PingServiceResponses) 726 err := c.cc.Invoke(ctx, "/crosscc.SettingService/PingServices", in, out, opts...) 727 if err != nil { 728 return nil, err 729 } 730 return out, nil 731 } 732 733 // SettingServiceServer is the server API for SettingService service. 734 type SettingServiceServer interface { 735 ServiceLocatorSet(context.Context, *ServiceLocatorSetRequest) (*ServiceLocator, error) 736 ServiceLocatorGet(context.Context, *ServiceLocatorId) (*ServiceLocator, error) 737 ListServiceLocators(context.Context, *emptypb.Empty) (*ServiceLocators, error) 738 // Try to query chaincodes from service chaincode settings 739 PingService(context.Context, *ServiceLocatorId) (*PingServiceResponse, error) 740 PingServices(context.Context, *emptypb.Empty) (*PingServiceResponses, error) 741 } 742 743 // UnimplementedSettingServiceServer can be embedded to have forward compatible implementations. 744 type UnimplementedSettingServiceServer struct { 745 } 746 747 func (*UnimplementedSettingServiceServer) ServiceLocatorSet(context.Context, *ServiceLocatorSetRequest) (*ServiceLocator, error) { 748 return nil, status.Errorf(codes.Unimplemented, "method ServiceLocatorSet not implemented") 749 } 750 func (*UnimplementedSettingServiceServer) ServiceLocatorGet(context.Context, *ServiceLocatorId) (*ServiceLocator, error) { 751 return nil, status.Errorf(codes.Unimplemented, "method ServiceLocatorGet not implemented") 752 } 753 func (*UnimplementedSettingServiceServer) ListServiceLocators(context.Context, *emptypb.Empty) (*ServiceLocators, error) { 754 return nil, status.Errorf(codes.Unimplemented, "method ListServiceLocators not implemented") 755 } 756 func (*UnimplementedSettingServiceServer) PingService(context.Context, *ServiceLocatorId) (*PingServiceResponse, error) { 757 return nil, status.Errorf(codes.Unimplemented, "method PingService not implemented") 758 } 759 func (*UnimplementedSettingServiceServer) PingServices(context.Context, *emptypb.Empty) (*PingServiceResponses, error) { 760 return nil, status.Errorf(codes.Unimplemented, "method PingServices not implemented") 761 } 762 763 func RegisterSettingServiceServer(s *grpc.Server, srv SettingServiceServer) { 764 s.RegisterService(&_SettingService_serviceDesc, srv) 765 } 766 767 func _SettingService_ServiceLocatorSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 768 in := new(ServiceLocatorSetRequest) 769 if err := dec(in); err != nil { 770 return nil, err 771 } 772 if interceptor == nil { 773 return srv.(SettingServiceServer).ServiceLocatorSet(ctx, in) 774 } 775 info := &grpc.UnaryServerInfo{ 776 Server: srv, 777 FullMethod: "/crosscc.SettingService/ServiceLocatorSet", 778 } 779 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 780 return srv.(SettingServiceServer).ServiceLocatorSet(ctx, req.(*ServiceLocatorSetRequest)) 781 } 782 return interceptor(ctx, in, info, handler) 783 } 784 785 func _SettingService_ServiceLocatorGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 786 in := new(ServiceLocatorId) 787 if err := dec(in); err != nil { 788 return nil, err 789 } 790 if interceptor == nil { 791 return srv.(SettingServiceServer).ServiceLocatorGet(ctx, in) 792 } 793 info := &grpc.UnaryServerInfo{ 794 Server: srv, 795 FullMethod: "/crosscc.SettingService/ServiceLocatorGet", 796 } 797 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 798 return srv.(SettingServiceServer).ServiceLocatorGet(ctx, req.(*ServiceLocatorId)) 799 } 800 return interceptor(ctx, in, info, handler) 801 } 802 803 func _SettingService_ListServiceLocators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 804 in := new(emptypb.Empty) 805 if err := dec(in); err != nil { 806 return nil, err 807 } 808 if interceptor == nil { 809 return srv.(SettingServiceServer).ListServiceLocators(ctx, in) 810 } 811 info := &grpc.UnaryServerInfo{ 812 Server: srv, 813 FullMethod: "/crosscc.SettingService/ListServiceLocators", 814 } 815 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 816 return srv.(SettingServiceServer).ListServiceLocators(ctx, req.(*emptypb.Empty)) 817 } 818 return interceptor(ctx, in, info, handler) 819 } 820 821 func _SettingService_PingService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 822 in := new(ServiceLocatorId) 823 if err := dec(in); err != nil { 824 return nil, err 825 } 826 if interceptor == nil { 827 return srv.(SettingServiceServer).PingService(ctx, in) 828 } 829 info := &grpc.UnaryServerInfo{ 830 Server: srv, 831 FullMethod: "/crosscc.SettingService/PingService", 832 } 833 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 834 return srv.(SettingServiceServer).PingService(ctx, req.(*ServiceLocatorId)) 835 } 836 return interceptor(ctx, in, info, handler) 837 } 838 839 func _SettingService_PingServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 840 in := new(emptypb.Empty) 841 if err := dec(in); err != nil { 842 return nil, err 843 } 844 if interceptor == nil { 845 return srv.(SettingServiceServer).PingServices(ctx, in) 846 } 847 info := &grpc.UnaryServerInfo{ 848 Server: srv, 849 FullMethod: "/crosscc.SettingService/PingServices", 850 } 851 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 852 return srv.(SettingServiceServer).PingServices(ctx, req.(*emptypb.Empty)) 853 } 854 return interceptor(ctx, in, info, handler) 855 } 856 857 var _SettingService_serviceDesc = grpc.ServiceDesc{ 858 ServiceName: "crosscc.SettingService", 859 HandlerType: (*SettingServiceServer)(nil), 860 Methods: []grpc.MethodDesc{ 861 { 862 MethodName: "ServiceLocatorSet", 863 Handler: _SettingService_ServiceLocatorSet_Handler, 864 }, 865 { 866 MethodName: "ServiceLocatorGet", 867 Handler: _SettingService_ServiceLocatorGet_Handler, 868 }, 869 { 870 MethodName: "ListServiceLocators", 871 Handler: _SettingService_ListServiceLocators_Handler, 872 }, 873 { 874 MethodName: "PingService", 875 Handler: _SettingService_PingService_Handler, 876 }, 877 { 878 MethodName: "PingServices", 879 Handler: _SettingService_PingServices_Handler, 880 }, 881 }, 882 Streams: []grpc.StreamDesc{}, 883 Metadata: "crosscc/cclocator_setting.proto", 884 }