1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/api/servicecontrol/v1/service_controller.proto 20 21package servicecontrol 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 status "google.golang.org/genproto/googleapis/rpc/status" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status1 "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 _ "google.golang.org/protobuf/types/known/timestamppb" 36) 37 38const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43) 44 45// The type of the consumer as defined in 46// [Google Resource Manager](https://cloud.google.com/resource-manager/). 47type CheckResponse_ConsumerInfo_ConsumerType int32 48 49const ( 50 // This is never used. 51 CheckResponse_ConsumerInfo_CONSUMER_TYPE_UNSPECIFIED CheckResponse_ConsumerInfo_ConsumerType = 0 52 // The consumer is a Google Cloud Project. 53 CheckResponse_ConsumerInfo_PROJECT CheckResponse_ConsumerInfo_ConsumerType = 1 54 // The consumer is a Google Cloud Folder. 55 CheckResponse_ConsumerInfo_FOLDER CheckResponse_ConsumerInfo_ConsumerType = 2 56 // The consumer is a Google Cloud Organization. 57 CheckResponse_ConsumerInfo_ORGANIZATION CheckResponse_ConsumerInfo_ConsumerType = 3 58 // Service-specific resource container which is defined by the service 59 // producer to offer their users the ability to manage service control 60 // functionalities at a finer level of granularity than the PROJECT. 61 CheckResponse_ConsumerInfo_SERVICE_SPECIFIC CheckResponse_ConsumerInfo_ConsumerType = 4 62) 63 64// Enum value maps for CheckResponse_ConsumerInfo_ConsumerType. 65var ( 66 CheckResponse_ConsumerInfo_ConsumerType_name = map[int32]string{ 67 0: "CONSUMER_TYPE_UNSPECIFIED", 68 1: "PROJECT", 69 2: "FOLDER", 70 3: "ORGANIZATION", 71 4: "SERVICE_SPECIFIC", 72 } 73 CheckResponse_ConsumerInfo_ConsumerType_value = map[string]int32{ 74 "CONSUMER_TYPE_UNSPECIFIED": 0, 75 "PROJECT": 1, 76 "FOLDER": 2, 77 "ORGANIZATION": 3, 78 "SERVICE_SPECIFIC": 4, 79 } 80) 81 82func (x CheckResponse_ConsumerInfo_ConsumerType) Enum() *CheckResponse_ConsumerInfo_ConsumerType { 83 p := new(CheckResponse_ConsumerInfo_ConsumerType) 84 *p = x 85 return p 86} 87 88func (x CheckResponse_ConsumerInfo_ConsumerType) String() string { 89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 90} 91 92func (CheckResponse_ConsumerInfo_ConsumerType) Descriptor() protoreflect.EnumDescriptor { 93 return file_google_api_servicecontrol_v1_service_controller_proto_enumTypes[0].Descriptor() 94} 95 96func (CheckResponse_ConsumerInfo_ConsumerType) Type() protoreflect.EnumType { 97 return &file_google_api_servicecontrol_v1_service_controller_proto_enumTypes[0] 98} 99 100func (x CheckResponse_ConsumerInfo_ConsumerType) Number() protoreflect.EnumNumber { 101 return protoreflect.EnumNumber(x) 102} 103 104// Deprecated: Use CheckResponse_ConsumerInfo_ConsumerType.Descriptor instead. 105func (CheckResponse_ConsumerInfo_ConsumerType) EnumDescriptor() ([]byte, []int) { 106 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{1, 1, 0} 107} 108 109// Request message for the Check method. 110type CheckRequest struct { 111 state protoimpl.MessageState 112 sizeCache protoimpl.SizeCache 113 unknownFields protoimpl.UnknownFields 114 115 // The service name as specified in its service configuration. For example, 116 // `"pubsub.googleapis.com"`. 117 // 118 // See 119 // [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) 120 // for the definition of a service name. 121 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` 122 // The operation to be checked. 123 Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` 124 // Specifies which version of service configuration should be used to process 125 // the request. 126 // 127 // If unspecified or no matching version can be found, the 128 // latest one will be used. 129 ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` 130} 131 132func (x *CheckRequest) Reset() { 133 *x = CheckRequest{} 134 if protoimpl.UnsafeEnabled { 135 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[0] 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 137 ms.StoreMessageInfo(mi) 138 } 139} 140 141func (x *CheckRequest) String() string { 142 return protoimpl.X.MessageStringOf(x) 143} 144 145func (*CheckRequest) ProtoMessage() {} 146 147func (x *CheckRequest) ProtoReflect() protoreflect.Message { 148 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[0] 149 if protoimpl.UnsafeEnabled && x != nil { 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 if ms.LoadMessageInfo() == nil { 152 ms.StoreMessageInfo(mi) 153 } 154 return ms 155 } 156 return mi.MessageOf(x) 157} 158 159// Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead. 160func (*CheckRequest) Descriptor() ([]byte, []int) { 161 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{0} 162} 163 164func (x *CheckRequest) GetServiceName() string { 165 if x != nil { 166 return x.ServiceName 167 } 168 return "" 169} 170 171func (x *CheckRequest) GetOperation() *Operation { 172 if x != nil { 173 return x.Operation 174 } 175 return nil 176} 177 178func (x *CheckRequest) GetServiceConfigId() string { 179 if x != nil { 180 return x.ServiceConfigId 181 } 182 return "" 183} 184 185// Response message for the Check method. 186type CheckResponse struct { 187 state protoimpl.MessageState 188 sizeCache protoimpl.SizeCache 189 unknownFields protoimpl.UnknownFields 190 191 // The same operation_id value used in the 192 // [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging 193 // and diagnostics purposes. 194 OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 195 // Indicate the decision of the check. 196 // 197 // If no check errors are present, the service should process the operation. 198 // Otherwise the service should use the list of errors to determine the 199 // appropriate action. 200 CheckErrors []*CheckError `protobuf:"bytes,2,rep,name=check_errors,json=checkErrors,proto3" json:"check_errors,omitempty"` 201 // The actual config id used to process the request. 202 ServiceConfigId string `protobuf:"bytes,5,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` 203 // The current service rollout id used to process the request. 204 ServiceRolloutId string `protobuf:"bytes,11,opt,name=service_rollout_id,json=serviceRolloutId,proto3" json:"service_rollout_id,omitempty"` 205 // Feedback data returned from the server during processing a Check request. 206 CheckInfo *CheckResponse_CheckInfo `protobuf:"bytes,6,opt,name=check_info,json=checkInfo,proto3" json:"check_info,omitempty"` 207} 208 209func (x *CheckResponse) Reset() { 210 *x = CheckResponse{} 211 if protoimpl.UnsafeEnabled { 212 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[1] 213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 214 ms.StoreMessageInfo(mi) 215 } 216} 217 218func (x *CheckResponse) String() string { 219 return protoimpl.X.MessageStringOf(x) 220} 221 222func (*CheckResponse) ProtoMessage() {} 223 224func (x *CheckResponse) ProtoReflect() protoreflect.Message { 225 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[1] 226 if protoimpl.UnsafeEnabled && x != nil { 227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 228 if ms.LoadMessageInfo() == nil { 229 ms.StoreMessageInfo(mi) 230 } 231 return ms 232 } 233 return mi.MessageOf(x) 234} 235 236// Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead. 237func (*CheckResponse) Descriptor() ([]byte, []int) { 238 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{1} 239} 240 241func (x *CheckResponse) GetOperationId() string { 242 if x != nil { 243 return x.OperationId 244 } 245 return "" 246} 247 248func (x *CheckResponse) GetCheckErrors() []*CheckError { 249 if x != nil { 250 return x.CheckErrors 251 } 252 return nil 253} 254 255func (x *CheckResponse) GetServiceConfigId() string { 256 if x != nil { 257 return x.ServiceConfigId 258 } 259 return "" 260} 261 262func (x *CheckResponse) GetServiceRolloutId() string { 263 if x != nil { 264 return x.ServiceRolloutId 265 } 266 return "" 267} 268 269func (x *CheckResponse) GetCheckInfo() *CheckResponse_CheckInfo { 270 if x != nil { 271 return x.CheckInfo 272 } 273 return nil 274} 275 276// Request message for the Report method. 277type ReportRequest struct { 278 state protoimpl.MessageState 279 sizeCache protoimpl.SizeCache 280 unknownFields protoimpl.UnknownFields 281 282 // The service name as specified in its service configuration. For example, 283 // `"pubsub.googleapis.com"`. 284 // 285 // See 286 // [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) 287 // for the definition of a service name. 288 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` 289 // Operations to be reported. 290 // 291 // Typically the service should report one operation per request. 292 // Putting multiple operations into a single request is allowed, but should 293 // be used only when multiple operations are natually available at the time 294 // of the report. 295 // 296 // There is no limit on the number of operations in the same ReportRequest, 297 // however the ReportRequest size should be no larger than 1MB. See 298 // [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] 299 // for partial failure behavior. 300 Operations []*Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` 301 // Specifies which version of service config should be used to process the 302 // request. 303 // 304 // If unspecified or no matching version can be found, the 305 // latest one will be used. 306 ServiceConfigId string `protobuf:"bytes,3,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` 307} 308 309func (x *ReportRequest) Reset() { 310 *x = ReportRequest{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[2] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316} 317 318func (x *ReportRequest) String() string { 319 return protoimpl.X.MessageStringOf(x) 320} 321 322func (*ReportRequest) ProtoMessage() {} 323 324func (x *ReportRequest) ProtoReflect() protoreflect.Message { 325 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[2] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334} 335 336// Deprecated: Use ReportRequest.ProtoReflect.Descriptor instead. 337func (*ReportRequest) Descriptor() ([]byte, []int) { 338 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{2} 339} 340 341func (x *ReportRequest) GetServiceName() string { 342 if x != nil { 343 return x.ServiceName 344 } 345 return "" 346} 347 348func (x *ReportRequest) GetOperations() []*Operation { 349 if x != nil { 350 return x.Operations 351 } 352 return nil 353} 354 355func (x *ReportRequest) GetServiceConfigId() string { 356 if x != nil { 357 return x.ServiceConfigId 358 } 359 return "" 360} 361 362// Response message for the Report method. 363type ReportResponse struct { 364 state protoimpl.MessageState 365 sizeCache protoimpl.SizeCache 366 unknownFields protoimpl.UnknownFields 367 368 // Partial failures, one for each `Operation` in the request that failed 369 // processing. There are three possible combinations of the RPC status: 370 // 371 // 1. The combination of a successful RPC status and an empty `report_errors` 372 // list indicates a complete success where all `Operations` in the 373 // request are processed successfully. 374 // 2. The combination of a successful RPC status and a non-empty 375 // `report_errors` list indicates a partial success where some 376 // `Operations` in the request succeeded. Each 377 // `Operation` that failed processing has a corresponding item 378 // in this list. 379 // 3. A failed RPC status indicates a general non-deterministic failure. 380 // When this happens, it's impossible to know which of the 381 // 'Operations' in the request succeeded or failed. 382 ReportErrors []*ReportResponse_ReportError `protobuf:"bytes,1,rep,name=report_errors,json=reportErrors,proto3" json:"report_errors,omitempty"` 383 // The actual config id used to process the request. 384 ServiceConfigId string `protobuf:"bytes,2,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` 385 // The current service rollout id used to process the request. 386 ServiceRolloutId string `protobuf:"bytes,4,opt,name=service_rollout_id,json=serviceRolloutId,proto3" json:"service_rollout_id,omitempty"` 387} 388 389func (x *ReportResponse) Reset() { 390 *x = ReportResponse{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[3] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396} 397 398func (x *ReportResponse) String() string { 399 return protoimpl.X.MessageStringOf(x) 400} 401 402func (*ReportResponse) ProtoMessage() {} 403 404func (x *ReportResponse) ProtoReflect() protoreflect.Message { 405 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[3] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414} 415 416// Deprecated: Use ReportResponse.ProtoReflect.Descriptor instead. 417func (*ReportResponse) Descriptor() ([]byte, []int) { 418 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{3} 419} 420 421func (x *ReportResponse) GetReportErrors() []*ReportResponse_ReportError { 422 if x != nil { 423 return x.ReportErrors 424 } 425 return nil 426} 427 428func (x *ReportResponse) GetServiceConfigId() string { 429 if x != nil { 430 return x.ServiceConfigId 431 } 432 return "" 433} 434 435func (x *ReportResponse) GetServiceRolloutId() string { 436 if x != nil { 437 return x.ServiceRolloutId 438 } 439 return "" 440} 441 442// Contains additional information about the check operation. 443type CheckResponse_CheckInfo struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 448 // A list of fields and label keys that are ignored by the server. 449 // The client doesn't need to send them for following requests to improve 450 // performance and allow better aggregation. 451 UnusedArguments []string `protobuf:"bytes,1,rep,name=unused_arguments,json=unusedArguments,proto3" json:"unused_arguments,omitempty"` 452 // Consumer info of this check. 453 ConsumerInfo *CheckResponse_ConsumerInfo `protobuf:"bytes,2,opt,name=consumer_info,json=consumerInfo,proto3" json:"consumer_info,omitempty"` 454} 455 456func (x *CheckResponse_CheckInfo) Reset() { 457 *x = CheckResponse_CheckInfo{} 458 if protoimpl.UnsafeEnabled { 459 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[4] 460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 461 ms.StoreMessageInfo(mi) 462 } 463} 464 465func (x *CheckResponse_CheckInfo) String() string { 466 return protoimpl.X.MessageStringOf(x) 467} 468 469func (*CheckResponse_CheckInfo) ProtoMessage() {} 470 471func (x *CheckResponse_CheckInfo) ProtoReflect() protoreflect.Message { 472 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[4] 473 if protoimpl.UnsafeEnabled && x != nil { 474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 475 if ms.LoadMessageInfo() == nil { 476 ms.StoreMessageInfo(mi) 477 } 478 return ms 479 } 480 return mi.MessageOf(x) 481} 482 483// Deprecated: Use CheckResponse_CheckInfo.ProtoReflect.Descriptor instead. 484func (*CheckResponse_CheckInfo) Descriptor() ([]byte, []int) { 485 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{1, 0} 486} 487 488func (x *CheckResponse_CheckInfo) GetUnusedArguments() []string { 489 if x != nil { 490 return x.UnusedArguments 491 } 492 return nil 493} 494 495func (x *CheckResponse_CheckInfo) GetConsumerInfo() *CheckResponse_ConsumerInfo { 496 if x != nil { 497 return x.ConsumerInfo 498 } 499 return nil 500} 501 502// `ConsumerInfo` provides information about the consumer. 503type CheckResponse_ConsumerInfo struct { 504 state protoimpl.MessageState 505 sizeCache protoimpl.SizeCache 506 unknownFields protoimpl.UnknownFields 507 508 // The Google cloud project number, e.g. 1234567890. A value of 0 indicates 509 // no project number is found. 510 // 511 // NOTE: This field is deprecated after we support flexible consumer 512 // id. New code should not depend on this field anymore. 513 ProjectNumber int64 `protobuf:"varint,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` 514 // The type of the consumer which should have been defined in 515 // [Google Resource Manager](https://cloud.google.com/resource-manager/). 516 Type CheckResponse_ConsumerInfo_ConsumerType `protobuf:"varint,2,opt,name=type,proto3,enum=google.api.servicecontrol.v1.CheckResponse_ConsumerInfo_ConsumerType" json:"type,omitempty"` 517 // The consumer identity number, can be Google cloud project number, folder 518 // number or organization number e.g. 1234567890. A value of 0 indicates no 519 // consumer number is found. 520 ConsumerNumber int64 `protobuf:"varint,3,opt,name=consumer_number,json=consumerNumber,proto3" json:"consumer_number,omitempty"` 521} 522 523func (x *CheckResponse_ConsumerInfo) Reset() { 524 *x = CheckResponse_ConsumerInfo{} 525 if protoimpl.UnsafeEnabled { 526 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[5] 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 528 ms.StoreMessageInfo(mi) 529 } 530} 531 532func (x *CheckResponse_ConsumerInfo) String() string { 533 return protoimpl.X.MessageStringOf(x) 534} 535 536func (*CheckResponse_ConsumerInfo) ProtoMessage() {} 537 538func (x *CheckResponse_ConsumerInfo) ProtoReflect() protoreflect.Message { 539 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[5] 540 if protoimpl.UnsafeEnabled && x != nil { 541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 542 if ms.LoadMessageInfo() == nil { 543 ms.StoreMessageInfo(mi) 544 } 545 return ms 546 } 547 return mi.MessageOf(x) 548} 549 550// Deprecated: Use CheckResponse_ConsumerInfo.ProtoReflect.Descriptor instead. 551func (*CheckResponse_ConsumerInfo) Descriptor() ([]byte, []int) { 552 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{1, 1} 553} 554 555func (x *CheckResponse_ConsumerInfo) GetProjectNumber() int64 { 556 if x != nil { 557 return x.ProjectNumber 558 } 559 return 0 560} 561 562func (x *CheckResponse_ConsumerInfo) GetType() CheckResponse_ConsumerInfo_ConsumerType { 563 if x != nil { 564 return x.Type 565 } 566 return CheckResponse_ConsumerInfo_CONSUMER_TYPE_UNSPECIFIED 567} 568 569func (x *CheckResponse_ConsumerInfo) GetConsumerNumber() int64 { 570 if x != nil { 571 return x.ConsumerNumber 572 } 573 return 0 574} 575 576// Represents the processing error of one 577// [Operation][google.api.servicecontrol.v1.Operation] in the request. 578type ReportResponse_ReportError struct { 579 state protoimpl.MessageState 580 sizeCache protoimpl.SizeCache 581 unknownFields protoimpl.UnknownFields 582 583 // The 584 // [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id] 585 // value from the request. 586 OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 587 // Details of the error when processing the 588 // [Operation][google.api.servicecontrol.v1.Operation]. 589 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 590} 591 592func (x *ReportResponse_ReportError) Reset() { 593 *x = ReportResponse_ReportError{} 594 if protoimpl.UnsafeEnabled { 595 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[6] 596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 597 ms.StoreMessageInfo(mi) 598 } 599} 600 601func (x *ReportResponse_ReportError) String() string { 602 return protoimpl.X.MessageStringOf(x) 603} 604 605func (*ReportResponse_ReportError) ProtoMessage() {} 606 607func (x *ReportResponse_ReportError) ProtoReflect() protoreflect.Message { 608 mi := &file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[6] 609 if protoimpl.UnsafeEnabled && x != nil { 610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 611 if ms.LoadMessageInfo() == nil { 612 ms.StoreMessageInfo(mi) 613 } 614 return ms 615 } 616 return mi.MessageOf(x) 617} 618 619// Deprecated: Use ReportResponse_ReportError.ProtoReflect.Descriptor instead. 620func (*ReportResponse_ReportError) Descriptor() ([]byte, []int) { 621 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP(), []int{3, 0} 622} 623 624func (x *ReportResponse_ReportError) GetOperationId() string { 625 if x != nil { 626 return x.OperationId 627 } 628 return "" 629} 630 631func (x *ReportResponse_ReportError) GetStatus() *status.Status { 632 if x != nil { 633 return x.Status 634 } 635 return nil 636} 637 638var File_google_api_servicecontrol_v1_service_controller_proto protoreflect.FileDescriptor 639 640var file_google_api_servicecontrol_v1_service_controller_proto_rawDesc = []byte{ 641 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 642 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 643 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 644 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 645 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 646 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 647 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 648 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 649 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 650 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 651 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 652 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 653 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 654 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 655 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 656 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 657 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 658 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 659 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 660 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 661 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 662 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 663 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 664 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 665 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 666 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 667 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 668 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 669 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0xf3, 0x05, 0x0a, 0x0d, 670 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 671 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 672 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 673 0x12, 0x4b, 0x0a, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 674 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 675 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 676 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 677 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x2a, 0x0a, 678 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 679 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 680 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 681 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x64, 0x18, 682 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x6f, 683 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 684 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 685 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 686 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 687 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 688 0x66, 0x6f, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x95, 0x01, 689 0x0a, 0x09, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10, 0x75, 690 0x6e, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 691 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x6e, 0x75, 0x73, 0x65, 0x64, 0x41, 0x72, 0x67, 692 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 693 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 694 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 695 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 696 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x75, 697 0x6d, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 698 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0xa9, 0x02, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 699 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 700 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 701 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x59, 0x0a, 702 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 703 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 704 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 705 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 706 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x54, 0x79, 707 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 708 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 709 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 710 0x72, 0x22, 0x6e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70, 711 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x59, 712 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 713 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 714 0x06, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52, 0x47, 715 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x53, 716 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x43, 0x10, 717 0x04, 0x22, 0xa7, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 718 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 719 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 720 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 721 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 722 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 723 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 724 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 725 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 726 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 727 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 728 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 729 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 730 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 731 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 732 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 733 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 734 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x2a, 0x0a, 735 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 736 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 737 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 738 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x64, 0x18, 739 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x6f, 740 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x49, 0x64, 0x1a, 0x5c, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6f, 0x72, 741 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 742 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 743 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 744 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 745 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 746 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0xbc, 0x03, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 747 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x8e, 0x01, 0x0a, 0x05, 748 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 749 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 750 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 751 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 752 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 753 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 754 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 755 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 756 0x6d, 0x65, 0x7d, 0x3a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x92, 0x01, 0x0a, 757 0x06, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 758 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 759 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 760 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 761 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 762 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 763 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 764 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 765 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 766 0x2a, 0x1a, 0x80, 0x01, 0xca, 0x41, 0x1d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 767 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 768 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5d, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 769 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 770 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 771 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 772 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 773 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 774 0x74, 0x72, 0x6f, 0x6c, 0x42, 0xf8, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 775 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 776 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 777 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 778 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 779 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 780 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 781 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 782 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0xf8, 783 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x53, 0x43, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 784 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 785 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 786 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 787 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 788 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x72, 789 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 790 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 791} 792 793var ( 794 file_google_api_servicecontrol_v1_service_controller_proto_rawDescOnce sync.Once 795 file_google_api_servicecontrol_v1_service_controller_proto_rawDescData = file_google_api_servicecontrol_v1_service_controller_proto_rawDesc 796) 797 798func file_google_api_servicecontrol_v1_service_controller_proto_rawDescGZIP() []byte { 799 file_google_api_servicecontrol_v1_service_controller_proto_rawDescOnce.Do(func() { 800 file_google_api_servicecontrol_v1_service_controller_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_servicecontrol_v1_service_controller_proto_rawDescData) 801 }) 802 return file_google_api_servicecontrol_v1_service_controller_proto_rawDescData 803} 804 805var file_google_api_servicecontrol_v1_service_controller_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 806var file_google_api_servicecontrol_v1_service_controller_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 807var file_google_api_servicecontrol_v1_service_controller_proto_goTypes = []interface{}{ 808 (CheckResponse_ConsumerInfo_ConsumerType)(0), // 0: google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType 809 (*CheckRequest)(nil), // 1: google.api.servicecontrol.v1.CheckRequest 810 (*CheckResponse)(nil), // 2: google.api.servicecontrol.v1.CheckResponse 811 (*ReportRequest)(nil), // 3: google.api.servicecontrol.v1.ReportRequest 812 (*ReportResponse)(nil), // 4: google.api.servicecontrol.v1.ReportResponse 813 (*CheckResponse_CheckInfo)(nil), // 5: google.api.servicecontrol.v1.CheckResponse.CheckInfo 814 (*CheckResponse_ConsumerInfo)(nil), // 6: google.api.servicecontrol.v1.CheckResponse.ConsumerInfo 815 (*ReportResponse_ReportError)(nil), // 7: google.api.servicecontrol.v1.ReportResponse.ReportError 816 (*Operation)(nil), // 8: google.api.servicecontrol.v1.Operation 817 (*CheckError)(nil), // 9: google.api.servicecontrol.v1.CheckError 818 (*status.Status)(nil), // 10: google.rpc.Status 819} 820var file_google_api_servicecontrol_v1_service_controller_proto_depIdxs = []int32{ 821 8, // 0: google.api.servicecontrol.v1.CheckRequest.operation:type_name -> google.api.servicecontrol.v1.Operation 822 9, // 1: google.api.servicecontrol.v1.CheckResponse.check_errors:type_name -> google.api.servicecontrol.v1.CheckError 823 5, // 2: google.api.servicecontrol.v1.CheckResponse.check_info:type_name -> google.api.servicecontrol.v1.CheckResponse.CheckInfo 824 8, // 3: google.api.servicecontrol.v1.ReportRequest.operations:type_name -> google.api.servicecontrol.v1.Operation 825 7, // 4: google.api.servicecontrol.v1.ReportResponse.report_errors:type_name -> google.api.servicecontrol.v1.ReportResponse.ReportError 826 6, // 5: google.api.servicecontrol.v1.CheckResponse.CheckInfo.consumer_info:type_name -> google.api.servicecontrol.v1.CheckResponse.ConsumerInfo 827 0, // 6: google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.type:type_name -> google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType 828 10, // 7: google.api.servicecontrol.v1.ReportResponse.ReportError.status:type_name -> google.rpc.Status 829 1, // 8: google.api.servicecontrol.v1.ServiceController.Check:input_type -> google.api.servicecontrol.v1.CheckRequest 830 3, // 9: google.api.servicecontrol.v1.ServiceController.Report:input_type -> google.api.servicecontrol.v1.ReportRequest 831 2, // 10: google.api.servicecontrol.v1.ServiceController.Check:output_type -> google.api.servicecontrol.v1.CheckResponse 832 4, // 11: google.api.servicecontrol.v1.ServiceController.Report:output_type -> google.api.servicecontrol.v1.ReportResponse 833 10, // [10:12] is the sub-list for method output_type 834 8, // [8:10] is the sub-list for method input_type 835 8, // [8:8] is the sub-list for extension type_name 836 8, // [8:8] is the sub-list for extension extendee 837 0, // [0:8] is the sub-list for field type_name 838} 839 840func init() { file_google_api_servicecontrol_v1_service_controller_proto_init() } 841func file_google_api_servicecontrol_v1_service_controller_proto_init() { 842 if File_google_api_servicecontrol_v1_service_controller_proto != nil { 843 return 844 } 845 file_google_api_servicecontrol_v1_check_error_proto_init() 846 file_google_api_servicecontrol_v1_operation_proto_init() 847 if !protoimpl.UnsafeEnabled { 848 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 849 switch v := v.(*CheckRequest); i { 850 case 0: 851 return &v.state 852 case 1: 853 return &v.sizeCache 854 case 2: 855 return &v.unknownFields 856 default: 857 return nil 858 } 859 } 860 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 861 switch v := v.(*CheckResponse); i { 862 case 0: 863 return &v.state 864 case 1: 865 return &v.sizeCache 866 case 2: 867 return &v.unknownFields 868 default: 869 return nil 870 } 871 } 872 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 873 switch v := v.(*ReportRequest); i { 874 case 0: 875 return &v.state 876 case 1: 877 return &v.sizeCache 878 case 2: 879 return &v.unknownFields 880 default: 881 return nil 882 } 883 } 884 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 885 switch v := v.(*ReportResponse); i { 886 case 0: 887 return &v.state 888 case 1: 889 return &v.sizeCache 890 case 2: 891 return &v.unknownFields 892 default: 893 return nil 894 } 895 } 896 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 897 switch v := v.(*CheckResponse_CheckInfo); i { 898 case 0: 899 return &v.state 900 case 1: 901 return &v.sizeCache 902 case 2: 903 return &v.unknownFields 904 default: 905 return nil 906 } 907 } 908 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 909 switch v := v.(*CheckResponse_ConsumerInfo); i { 910 case 0: 911 return &v.state 912 case 1: 913 return &v.sizeCache 914 case 2: 915 return &v.unknownFields 916 default: 917 return nil 918 } 919 } 920 file_google_api_servicecontrol_v1_service_controller_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 921 switch v := v.(*ReportResponse_ReportError); i { 922 case 0: 923 return &v.state 924 case 1: 925 return &v.sizeCache 926 case 2: 927 return &v.unknownFields 928 default: 929 return nil 930 } 931 } 932 } 933 type x struct{} 934 out := protoimpl.TypeBuilder{ 935 File: protoimpl.DescBuilder{ 936 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 937 RawDescriptor: file_google_api_servicecontrol_v1_service_controller_proto_rawDesc, 938 NumEnums: 1, 939 NumMessages: 7, 940 NumExtensions: 0, 941 NumServices: 1, 942 }, 943 GoTypes: file_google_api_servicecontrol_v1_service_controller_proto_goTypes, 944 DependencyIndexes: file_google_api_servicecontrol_v1_service_controller_proto_depIdxs, 945 EnumInfos: file_google_api_servicecontrol_v1_service_controller_proto_enumTypes, 946 MessageInfos: file_google_api_servicecontrol_v1_service_controller_proto_msgTypes, 947 }.Build() 948 File_google_api_servicecontrol_v1_service_controller_proto = out.File 949 file_google_api_servicecontrol_v1_service_controller_proto_rawDesc = nil 950 file_google_api_servicecontrol_v1_service_controller_proto_goTypes = nil 951 file_google_api_servicecontrol_v1_service_controller_proto_depIdxs = nil 952} 953 954// Reference imports to suppress errors if they are not otherwise used. 955var _ context.Context 956var _ grpc.ClientConnInterface 957 958// This is a compile-time assertion to ensure that this generated file 959// is compatible with the grpc package it is being compiled against. 960const _ = grpc.SupportPackageIsVersion6 961 962// ServiceControllerClient is the client API for ServiceController service. 963// 964// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 965type ServiceControllerClient interface { 966 // Checks whether an operation on a service should be allowed to proceed 967 // based on the configuration of the service and related policies. It must be 968 // called before the operation is executed. 969 // 970 // If feasible, the client should cache the check results and reuse them for 971 // 60 seconds. In case of any server errors, the client should rely on the 972 // cached results for much longer time to avoid outage. 973 // WARNING: There is general 60s delay for the configuration and policy 974 // propagation, therefore callers MUST NOT depend on the `Check` method having 975 // the latest policy information. 976 // 977 // NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has 978 // the size limit (wire-format byte size) of 1MB. 979 // 980 // This method requires the `servicemanagement.services.check` permission 981 // on the specified service. For more information, see 982 // [Cloud IAM](https://cloud.google.com/iam). 983 Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) 984 // Reports operation results to Google Service Control, such as logs and 985 // metrics. It should be called after an operation is completed. 986 // 987 // If feasible, the client should aggregate reporting data for up to 5 988 // seconds to reduce API traffic. Limiting aggregation to 5 seconds is to 989 // reduce data loss during client crashes. Clients should carefully choose 990 // the aggregation time window to avoid data loss risk more than 0.01% 991 // for business and compliance reasons. 992 // 993 // NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has 994 // the size limit (wire-format byte size) of 1MB. 995 // 996 // This method requires the `servicemanagement.services.report` permission 997 // on the specified service. For more information, see 998 // [Google Cloud IAM](https://cloud.google.com/iam). 999 Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) 1000} 1001 1002type serviceControllerClient struct { 1003 cc grpc.ClientConnInterface 1004} 1005 1006func NewServiceControllerClient(cc grpc.ClientConnInterface) ServiceControllerClient { 1007 return &serviceControllerClient{cc} 1008} 1009 1010func (c *serviceControllerClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { 1011 out := new(CheckResponse) 1012 err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Check", in, out, opts...) 1013 if err != nil { 1014 return nil, err 1015 } 1016 return out, nil 1017} 1018 1019func (c *serviceControllerClient) Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) { 1020 out := new(ReportResponse) 1021 err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Report", in, out, opts...) 1022 if err != nil { 1023 return nil, err 1024 } 1025 return out, nil 1026} 1027 1028// ServiceControllerServer is the server API for ServiceController service. 1029type ServiceControllerServer interface { 1030 // Checks whether an operation on a service should be allowed to proceed 1031 // based on the configuration of the service and related policies. It must be 1032 // called before the operation is executed. 1033 // 1034 // If feasible, the client should cache the check results and reuse them for 1035 // 60 seconds. In case of any server errors, the client should rely on the 1036 // cached results for much longer time to avoid outage. 1037 // WARNING: There is general 60s delay for the configuration and policy 1038 // propagation, therefore callers MUST NOT depend on the `Check` method having 1039 // the latest policy information. 1040 // 1041 // NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has 1042 // the size limit (wire-format byte size) of 1MB. 1043 // 1044 // This method requires the `servicemanagement.services.check` permission 1045 // on the specified service. For more information, see 1046 // [Cloud IAM](https://cloud.google.com/iam). 1047 Check(context.Context, *CheckRequest) (*CheckResponse, error) 1048 // Reports operation results to Google Service Control, such as logs and 1049 // metrics. It should be called after an operation is completed. 1050 // 1051 // If feasible, the client should aggregate reporting data for up to 5 1052 // seconds to reduce API traffic. Limiting aggregation to 5 seconds is to 1053 // reduce data loss during client crashes. Clients should carefully choose 1054 // the aggregation time window to avoid data loss risk more than 0.01% 1055 // for business and compliance reasons. 1056 // 1057 // NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has 1058 // the size limit (wire-format byte size) of 1MB. 1059 // 1060 // This method requires the `servicemanagement.services.report` permission 1061 // on the specified service. For more information, see 1062 // [Google Cloud IAM](https://cloud.google.com/iam). 1063 Report(context.Context, *ReportRequest) (*ReportResponse, error) 1064} 1065 1066// UnimplementedServiceControllerServer can be embedded to have forward compatible implementations. 1067type UnimplementedServiceControllerServer struct { 1068} 1069 1070func (*UnimplementedServiceControllerServer) Check(context.Context, *CheckRequest) (*CheckResponse, error) { 1071 return nil, status1.Errorf(codes.Unimplemented, "method Check not implemented") 1072} 1073func (*UnimplementedServiceControllerServer) Report(context.Context, *ReportRequest) (*ReportResponse, error) { 1074 return nil, status1.Errorf(codes.Unimplemented, "method Report not implemented") 1075} 1076 1077func RegisterServiceControllerServer(s *grpc.Server, srv ServiceControllerServer) { 1078 s.RegisterService(&_ServiceController_serviceDesc, srv) 1079} 1080 1081func _ServiceController_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1082 in := new(CheckRequest) 1083 if err := dec(in); err != nil { 1084 return nil, err 1085 } 1086 if interceptor == nil { 1087 return srv.(ServiceControllerServer).Check(ctx, in) 1088 } 1089 info := &grpc.UnaryServerInfo{ 1090 Server: srv, 1091 FullMethod: "/google.api.servicecontrol.v1.ServiceController/Check", 1092 } 1093 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1094 return srv.(ServiceControllerServer).Check(ctx, req.(*CheckRequest)) 1095 } 1096 return interceptor(ctx, in, info, handler) 1097} 1098 1099func _ServiceController_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1100 in := new(ReportRequest) 1101 if err := dec(in); err != nil { 1102 return nil, err 1103 } 1104 if interceptor == nil { 1105 return srv.(ServiceControllerServer).Report(ctx, in) 1106 } 1107 info := &grpc.UnaryServerInfo{ 1108 Server: srv, 1109 FullMethod: "/google.api.servicecontrol.v1.ServiceController/Report", 1110 } 1111 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1112 return srv.(ServiceControllerServer).Report(ctx, req.(*ReportRequest)) 1113 } 1114 return interceptor(ctx, in, info, handler) 1115} 1116 1117var _ServiceController_serviceDesc = grpc.ServiceDesc{ 1118 ServiceName: "google.api.servicecontrol.v1.ServiceController", 1119 HandlerType: (*ServiceControllerServer)(nil), 1120 Methods: []grpc.MethodDesc{ 1121 { 1122 MethodName: "Check", 1123 Handler: _ServiceController_Check_Handler, 1124 }, 1125 { 1126 MethodName: "Report", 1127 Handler: _ServiceController_Report_Handler, 1128 }, 1129 }, 1130 Streams: []grpc.StreamDesc{}, 1131 Metadata: "google/api/servicecontrol/v1/service_controller.proto", 1132} 1133