1// Copyright 2019 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.22.0 19// protoc v3.11.2 20// source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto 21 22package recaptchaenterprise 23 24import ( 25 context "context" 26 reflect "reflect" 27 sync "sync" 28 29 proto "github.com/golang/protobuf/proto" 30 empty "github.com/golang/protobuf/ptypes/empty" 31 timestamp "github.com/golang/protobuf/ptypes/timestamp" 32 _ "google.golang.org/genproto/googleapis/api/annotations" 33 field_mask "google.golang.org/genproto/protobuf/field_mask" 34 grpc "google.golang.org/grpc" 35 codes "google.golang.org/grpc/codes" 36 status "google.golang.org/grpc/status" 37 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 38 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 39) 40 41const ( 42 // Verify that this generated code is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 44 // Verify that runtime/protoimpl is sufficiently up-to-date. 45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 46) 47 48// This is a compile-time assertion that a sufficiently up-to-date version 49// of the legacy proto package is being used. 50const _ = proto.ProtoPackageIsVersion4 51 52// Enum that reprensents the types of annotations. 53type AnnotateAssessmentRequest_Annotation int32 54 55const ( 56 // Default unspecified type. 57 AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED AnnotateAssessmentRequest_Annotation = 0 58 // Provides information that the event turned out to be legitimate. 59 AnnotateAssessmentRequest_LEGITIMATE AnnotateAssessmentRequest_Annotation = 1 60 // Provides information that the event turned out to be fraudulent. 61 AnnotateAssessmentRequest_FRAUDULENT AnnotateAssessmentRequest_Annotation = 2 62) 63 64// Enum value maps for AnnotateAssessmentRequest_Annotation. 65var ( 66 AnnotateAssessmentRequest_Annotation_name = map[int32]string{ 67 0: "ANNOTATION_UNSPECIFIED", 68 1: "LEGITIMATE", 69 2: "FRAUDULENT", 70 } 71 AnnotateAssessmentRequest_Annotation_value = map[string]int32{ 72 "ANNOTATION_UNSPECIFIED": 0, 73 "LEGITIMATE": 1, 74 "FRAUDULENT": 2, 75 } 76) 77 78func (x AnnotateAssessmentRequest_Annotation) Enum() *AnnotateAssessmentRequest_Annotation { 79 p := new(AnnotateAssessmentRequest_Annotation) 80 *p = x 81 return p 82} 83 84func (x AnnotateAssessmentRequest_Annotation) String() string { 85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 86} 87 88func (AnnotateAssessmentRequest_Annotation) Descriptor() protoreflect.EnumDescriptor { 89 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[0].Descriptor() 90} 91 92func (AnnotateAssessmentRequest_Annotation) Type() protoreflect.EnumType { 93 return &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[0] 94} 95 96func (x AnnotateAssessmentRequest_Annotation) Number() protoreflect.EnumNumber { 97 return protoreflect.EnumNumber(x) 98} 99 100// Deprecated: Use AnnotateAssessmentRequest_Annotation.Descriptor instead. 101func (AnnotateAssessmentRequest_Annotation) EnumDescriptor() ([]byte, []int) { 102 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{1, 0} 103} 104 105// LINT.IfChange(classification_reason) 106// Reasons contributing to the risk analysis verdict. 107type Assessment_ClassificationReason int32 108 109const ( 110 // Default unspecified type. 111 Assessment_CLASSIFICATION_REASON_UNSPECIFIED Assessment_ClassificationReason = 0 112 // Interactions matched the behavior of an automated agent. 113 Assessment_AUTOMATION Assessment_ClassificationReason = 1 114 // The event originated from an illegitimate environment. 115 Assessment_UNEXPECTED_ENVIRONMENT Assessment_ClassificationReason = 2 116 // Traffic volume from the event source is higher than normal. 117 Assessment_TOO_MUCH_TRAFFIC Assessment_ClassificationReason = 3 118 // Interactions with the site were significantly different than expected 119 // patterns. 120 Assessment_UNEXPECTED_USAGE_PATTERNS Assessment_ClassificationReason = 4 121 // Too little traffic has been received from this site thus far to generate 122 // quality risk analysis. 123 Assessment_LOW_CONFIDENCE_SCORE Assessment_ClassificationReason = 5 124) 125 126// Enum value maps for Assessment_ClassificationReason. 127var ( 128 Assessment_ClassificationReason_name = map[int32]string{ 129 0: "CLASSIFICATION_REASON_UNSPECIFIED", 130 1: "AUTOMATION", 131 2: "UNEXPECTED_ENVIRONMENT", 132 3: "TOO_MUCH_TRAFFIC", 133 4: "UNEXPECTED_USAGE_PATTERNS", 134 5: "LOW_CONFIDENCE_SCORE", 135 } 136 Assessment_ClassificationReason_value = map[string]int32{ 137 "CLASSIFICATION_REASON_UNSPECIFIED": 0, 138 "AUTOMATION": 1, 139 "UNEXPECTED_ENVIRONMENT": 2, 140 "TOO_MUCH_TRAFFIC": 3, 141 "UNEXPECTED_USAGE_PATTERNS": 4, 142 "LOW_CONFIDENCE_SCORE": 5, 143 } 144) 145 146func (x Assessment_ClassificationReason) Enum() *Assessment_ClassificationReason { 147 p := new(Assessment_ClassificationReason) 148 *p = x 149 return p 150} 151 152func (x Assessment_ClassificationReason) String() string { 153 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 154} 155 156func (Assessment_ClassificationReason) Descriptor() protoreflect.EnumDescriptor { 157 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[1].Descriptor() 158} 159 160func (Assessment_ClassificationReason) Type() protoreflect.EnumType { 161 return &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[1] 162} 163 164func (x Assessment_ClassificationReason) Number() protoreflect.EnumNumber { 165 return protoreflect.EnumNumber(x) 166} 167 168// Deprecated: Use Assessment_ClassificationReason.Descriptor instead. 169func (Assessment_ClassificationReason) EnumDescriptor() ([]byte, []int) { 170 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{3, 0} 171} 172 173// LINT.IfChange 174// Enum that represents the types of invalid token reasons. 175type TokenProperties_InvalidReason int32 176 177const ( 178 // Default unspecified type. 179 TokenProperties_INVALID_REASON_UNSPECIFIED TokenProperties_InvalidReason = 0 180 // If the failure reason was not accounted for. 181 TokenProperties_UNKNOWN_INVALID_REASON TokenProperties_InvalidReason = 1 182 // The provided user verification token was malformed. 183 TokenProperties_MALFORMED TokenProperties_InvalidReason = 2 184 // The user verification token had expired. 185 TokenProperties_EXPIRED TokenProperties_InvalidReason = 3 186 // The user verification had already been seen. 187 TokenProperties_DUPE TokenProperties_InvalidReason = 4 188 // The user verification token did not match the provided site key. 189 // This may be a configuration error (e.g. development keys used in 190 // production) or end users trying to use verification tokens from other 191 // sites. 192 TokenProperties_SITE_MISMATCH TokenProperties_InvalidReason = 5 193 // The user verification token was not present. It is a required input. 194 TokenProperties_MISSING TokenProperties_InvalidReason = 6 195) 196 197// Enum value maps for TokenProperties_InvalidReason. 198var ( 199 TokenProperties_InvalidReason_name = map[int32]string{ 200 0: "INVALID_REASON_UNSPECIFIED", 201 1: "UNKNOWN_INVALID_REASON", 202 2: "MALFORMED", 203 3: "EXPIRED", 204 4: "DUPE", 205 5: "SITE_MISMATCH", 206 6: "MISSING", 207 } 208 TokenProperties_InvalidReason_value = map[string]int32{ 209 "INVALID_REASON_UNSPECIFIED": 0, 210 "UNKNOWN_INVALID_REASON": 1, 211 "MALFORMED": 2, 212 "EXPIRED": 3, 213 "DUPE": 4, 214 "SITE_MISMATCH": 5, 215 "MISSING": 6, 216 } 217) 218 219func (x TokenProperties_InvalidReason) Enum() *TokenProperties_InvalidReason { 220 p := new(TokenProperties_InvalidReason) 221 *p = x 222 return p 223} 224 225func (x TokenProperties_InvalidReason) String() string { 226 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 227} 228 229func (TokenProperties_InvalidReason) Descriptor() protoreflect.EnumDescriptor { 230 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[2].Descriptor() 231} 232 233func (TokenProperties_InvalidReason) Type() protoreflect.EnumType { 234 return &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[2] 235} 236 237func (x TokenProperties_InvalidReason) Number() protoreflect.EnumNumber { 238 return protoreflect.EnumNumber(x) 239} 240 241// Deprecated: Use TokenProperties_InvalidReason.Descriptor instead. 242func (TokenProperties_InvalidReason) EnumDescriptor() ([]byte, []int) { 243 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{5, 0} 244} 245 246// Enum that represents the integration types for web keys. 247type WebKeySettings_IntegrationType int32 248 249const ( 250 // Default type that indicates this enum hasn't been specified. This is not 251 // a valid IntegrationType, one of the other types must be specified 252 // instead. 253 WebKeySettings_INTEGRATION_TYPE_UNSPECIFIED WebKeySettings_IntegrationType = 0 254 // Only used to produce scores. It doesn't display the "I'm not a robot" 255 // checkbox and never shows captcha challenges. 256 WebKeySettings_SCORE_ONLY WebKeySettings_IntegrationType = 1 257 // Displays the "I'm not a robot" checkbox and may show captcha challenges 258 // after it is checked. 259 WebKeySettings_CHECKBOX_CHALLENGE WebKeySettings_IntegrationType = 2 260 // Doesn't display the "I'm not a robot" checkbox, but may show captcha 261 // challenges after risk analysis. 262 WebKeySettings_INVISIBLE_CHALLENGE WebKeySettings_IntegrationType = 3 263) 264 265// Enum value maps for WebKeySettings_IntegrationType. 266var ( 267 WebKeySettings_IntegrationType_name = map[int32]string{ 268 0: "INTEGRATION_TYPE_UNSPECIFIED", 269 1: "SCORE_ONLY", 270 2: "CHECKBOX_CHALLENGE", 271 3: "INVISIBLE_CHALLENGE", 272 } 273 WebKeySettings_IntegrationType_value = map[string]int32{ 274 "INTEGRATION_TYPE_UNSPECIFIED": 0, 275 "SCORE_ONLY": 1, 276 "CHECKBOX_CHALLENGE": 2, 277 "INVISIBLE_CHALLENGE": 3, 278 } 279) 280 281func (x WebKeySettings_IntegrationType) Enum() *WebKeySettings_IntegrationType { 282 p := new(WebKeySettings_IntegrationType) 283 *p = x 284 return p 285} 286 287func (x WebKeySettings_IntegrationType) String() string { 288 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 289} 290 291func (WebKeySettings_IntegrationType) Descriptor() protoreflect.EnumDescriptor { 292 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[3].Descriptor() 293} 294 295func (WebKeySettings_IntegrationType) Type() protoreflect.EnumType { 296 return &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[3] 297} 298 299func (x WebKeySettings_IntegrationType) Number() protoreflect.EnumNumber { 300 return protoreflect.EnumNumber(x) 301} 302 303// Deprecated: Use WebKeySettings_IntegrationType.Descriptor instead. 304func (WebKeySettings_IntegrationType) EnumDescriptor() ([]byte, []int) { 305 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{13, 0} 306} 307 308// Enum that represents the possible challenge frequency and difficulty 309// configurations for a web key. 310type WebKeySettings_ChallengeSecurityPreference int32 311 312const ( 313 // Default type that indicates this enum hasn't been specified. 314 WebKeySettings_CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED WebKeySettings_ChallengeSecurityPreference = 0 315 // Key tends to show fewer and easier challenges. 316 WebKeySettings_USABILITY WebKeySettings_ChallengeSecurityPreference = 1 317 // Key tends to show balanced (in amount and difficulty) challenges. 318 WebKeySettings_BALANCED WebKeySettings_ChallengeSecurityPreference = 2 319 // Key tends to show more and harder challenges. 320 WebKeySettings_SECURITY WebKeySettings_ChallengeSecurityPreference = 3 321) 322 323// Enum value maps for WebKeySettings_ChallengeSecurityPreference. 324var ( 325 WebKeySettings_ChallengeSecurityPreference_name = map[int32]string{ 326 0: "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED", 327 1: "USABILITY", 328 2: "BALANCED", 329 3: "SECURITY", 330 } 331 WebKeySettings_ChallengeSecurityPreference_value = map[string]int32{ 332 "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED": 0, 333 "USABILITY": 1, 334 "BALANCED": 2, 335 "SECURITY": 3, 336 } 337) 338 339func (x WebKeySettings_ChallengeSecurityPreference) Enum() *WebKeySettings_ChallengeSecurityPreference { 340 p := new(WebKeySettings_ChallengeSecurityPreference) 341 *p = x 342 return p 343} 344 345func (x WebKeySettings_ChallengeSecurityPreference) String() string { 346 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 347} 348 349func (WebKeySettings_ChallengeSecurityPreference) Descriptor() protoreflect.EnumDescriptor { 350 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[4].Descriptor() 351} 352 353func (WebKeySettings_ChallengeSecurityPreference) Type() protoreflect.EnumType { 354 return &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes[4] 355} 356 357func (x WebKeySettings_ChallengeSecurityPreference) Number() protoreflect.EnumNumber { 358 return protoreflect.EnumNumber(x) 359} 360 361// Deprecated: Use WebKeySettings_ChallengeSecurityPreference.Descriptor instead. 362func (WebKeySettings_ChallengeSecurityPreference) EnumDescriptor() ([]byte, []int) { 363 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{13, 1} 364} 365 366// The create assessment request message. 367type CreateAssessmentRequest struct { 368 state protoimpl.MessageState 369 sizeCache protoimpl.SizeCache 370 unknownFields protoimpl.UnknownFields 371 372 // Required. The name of the project in which the assessment will be created, 373 // in the format "projects/{project_number}". 374 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 375 // Required. The assessment details. 376 Assessment *Assessment `protobuf:"bytes,2,opt,name=assessment,proto3" json:"assessment,omitempty"` 377} 378 379func (x *CreateAssessmentRequest) Reset() { 380 *x = CreateAssessmentRequest{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[0] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386} 387 388func (x *CreateAssessmentRequest) String() string { 389 return protoimpl.X.MessageStringOf(x) 390} 391 392func (*CreateAssessmentRequest) ProtoMessage() {} 393 394func (x *CreateAssessmentRequest) ProtoReflect() protoreflect.Message { 395 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[0] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404} 405 406// Deprecated: Use CreateAssessmentRequest.ProtoReflect.Descriptor instead. 407func (*CreateAssessmentRequest) Descriptor() ([]byte, []int) { 408 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{0} 409} 410 411func (x *CreateAssessmentRequest) GetParent() string { 412 if x != nil { 413 return x.Parent 414 } 415 return "" 416} 417 418func (x *CreateAssessmentRequest) GetAssessment() *Assessment { 419 if x != nil { 420 return x.Assessment 421 } 422 return nil 423} 424 425// The request message to annotate an Assessment. 426type AnnotateAssessmentRequest struct { 427 state protoimpl.MessageState 428 sizeCache protoimpl.SizeCache 429 unknownFields protoimpl.UnknownFields 430 431 // Required. The resource name of the Assessment, in the format 432 // "projects/{project_number}/assessments/{assessment_id}". 433 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 434 // Required. The annotation that will be assigned to the Event. 435 Annotation AnnotateAssessmentRequest_Annotation `protobuf:"varint,2,opt,name=annotation,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest_Annotation" json:"annotation,omitempty"` 436} 437 438func (x *AnnotateAssessmentRequest) Reset() { 439 *x = AnnotateAssessmentRequest{} 440 if protoimpl.UnsafeEnabled { 441 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[1] 442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 443 ms.StoreMessageInfo(mi) 444 } 445} 446 447func (x *AnnotateAssessmentRequest) String() string { 448 return protoimpl.X.MessageStringOf(x) 449} 450 451func (*AnnotateAssessmentRequest) ProtoMessage() {} 452 453func (x *AnnotateAssessmentRequest) ProtoReflect() protoreflect.Message { 454 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[1] 455 if protoimpl.UnsafeEnabled && x != nil { 456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 457 if ms.LoadMessageInfo() == nil { 458 ms.StoreMessageInfo(mi) 459 } 460 return ms 461 } 462 return mi.MessageOf(x) 463} 464 465// Deprecated: Use AnnotateAssessmentRequest.ProtoReflect.Descriptor instead. 466func (*AnnotateAssessmentRequest) Descriptor() ([]byte, []int) { 467 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{1} 468} 469 470func (x *AnnotateAssessmentRequest) GetName() string { 471 if x != nil { 472 return x.Name 473 } 474 return "" 475} 476 477func (x *AnnotateAssessmentRequest) GetAnnotation() AnnotateAssessmentRequest_Annotation { 478 if x != nil { 479 return x.Annotation 480 } 481 return AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED 482} 483 484// Empty response for AnnotateAssessment. 485type AnnotateAssessmentResponse struct { 486 state protoimpl.MessageState 487 sizeCache protoimpl.SizeCache 488 unknownFields protoimpl.UnknownFields 489} 490 491func (x *AnnotateAssessmentResponse) Reset() { 492 *x = AnnotateAssessmentResponse{} 493 if protoimpl.UnsafeEnabled { 494 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[2] 495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 496 ms.StoreMessageInfo(mi) 497 } 498} 499 500func (x *AnnotateAssessmentResponse) String() string { 501 return protoimpl.X.MessageStringOf(x) 502} 503 504func (*AnnotateAssessmentResponse) ProtoMessage() {} 505 506func (x *AnnotateAssessmentResponse) ProtoReflect() protoreflect.Message { 507 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[2] 508 if protoimpl.UnsafeEnabled && x != nil { 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 if ms.LoadMessageInfo() == nil { 511 ms.StoreMessageInfo(mi) 512 } 513 return ms 514 } 515 return mi.MessageOf(x) 516} 517 518// Deprecated: Use AnnotateAssessmentResponse.ProtoReflect.Descriptor instead. 519func (*AnnotateAssessmentResponse) Descriptor() ([]byte, []int) { 520 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{2} 521} 522 523// A recaptcha assessment resource. 524type Assessment struct { 525 state protoimpl.MessageState 526 sizeCache protoimpl.SizeCache 527 unknownFields protoimpl.UnknownFields 528 529 // Output only. The resource name for the Assessment in the format 530 // "projects/{project_number}/assessments/{assessment_id}". 531 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 532 // The event being assessed. 533 Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` 534 // Output only. Legitimate event score from 0.0 to 1.0. 535 // (1.0 means very likely legitimate traffic while 0.0 means very likely 536 // non-legitimate traffic). 537 Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` 538 // Output only. Properties of the provided event token. 539 TokenProperties *TokenProperties `protobuf:"bytes,4,opt,name=token_properties,json=tokenProperties,proto3" json:"token_properties,omitempty"` 540 // Output only. Reasons contributing to the risk analysis verdict. 541 Reasons []Assessment_ClassificationReason `protobuf:"varint,5,rep,packed,name=reasons,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.Assessment_ClassificationReason" json:"reasons,omitempty"` 542} 543 544func (x *Assessment) Reset() { 545 *x = Assessment{} 546 if protoimpl.UnsafeEnabled { 547 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[3] 548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 549 ms.StoreMessageInfo(mi) 550 } 551} 552 553func (x *Assessment) String() string { 554 return protoimpl.X.MessageStringOf(x) 555} 556 557func (*Assessment) ProtoMessage() {} 558 559func (x *Assessment) ProtoReflect() protoreflect.Message { 560 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[3] 561 if protoimpl.UnsafeEnabled && x != nil { 562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 563 if ms.LoadMessageInfo() == nil { 564 ms.StoreMessageInfo(mi) 565 } 566 return ms 567 } 568 return mi.MessageOf(x) 569} 570 571// Deprecated: Use Assessment.ProtoReflect.Descriptor instead. 572func (*Assessment) Descriptor() ([]byte, []int) { 573 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{3} 574} 575 576func (x *Assessment) GetName() string { 577 if x != nil { 578 return x.Name 579 } 580 return "" 581} 582 583func (x *Assessment) GetEvent() *Event { 584 if x != nil { 585 return x.Event 586 } 587 return nil 588} 589 590func (x *Assessment) GetScore() float32 { 591 if x != nil { 592 return x.Score 593 } 594 return 0 595} 596 597func (x *Assessment) GetTokenProperties() *TokenProperties { 598 if x != nil { 599 return x.TokenProperties 600 } 601 return nil 602} 603 604func (x *Assessment) GetReasons() []Assessment_ClassificationReason { 605 if x != nil { 606 return x.Reasons 607 } 608 return nil 609} 610 611type Event struct { 612 state protoimpl.MessageState 613 sizeCache protoimpl.SizeCache 614 unknownFields protoimpl.UnknownFields 615 616 // Optional. The user response token provided by the reCAPTCHA client-side integration 617 // on your site. 618 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` 619 // Optional. The site key that was used to invoke reCAPTCHA on your site and generate 620 // the token. 621 SiteKey string `protobuf:"bytes,2,opt,name=site_key,json=siteKey,proto3" json:"site_key,omitempty"` 622 // Optional. The user agent present in the request from the user's device related to 623 // this event. 624 UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` 625 // Optional. The IP address in the request from the user's device related to this event. 626 UserIpAddress string `protobuf:"bytes,4,opt,name=user_ip_address,json=userIpAddress,proto3" json:"user_ip_address,omitempty"` 627 // Optional. The expected action for this type of event. This should be the same action 628 // provided at token generation time on client-side platforms already 629 // integrated with recaptcha enterprise. 630 ExpectedAction string `protobuf:"bytes,5,opt,name=expected_action,json=expectedAction,proto3" json:"expected_action,omitempty"` 631} 632 633func (x *Event) Reset() { 634 *x = Event{} 635 if protoimpl.UnsafeEnabled { 636 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[4] 637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 638 ms.StoreMessageInfo(mi) 639 } 640} 641 642func (x *Event) String() string { 643 return protoimpl.X.MessageStringOf(x) 644} 645 646func (*Event) ProtoMessage() {} 647 648func (x *Event) ProtoReflect() protoreflect.Message { 649 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[4] 650 if protoimpl.UnsafeEnabled && x != nil { 651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 652 if ms.LoadMessageInfo() == nil { 653 ms.StoreMessageInfo(mi) 654 } 655 return ms 656 } 657 return mi.MessageOf(x) 658} 659 660// Deprecated: Use Event.ProtoReflect.Descriptor instead. 661func (*Event) Descriptor() ([]byte, []int) { 662 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{4} 663} 664 665func (x *Event) GetToken() string { 666 if x != nil { 667 return x.Token 668 } 669 return "" 670} 671 672func (x *Event) GetSiteKey() string { 673 if x != nil { 674 return x.SiteKey 675 } 676 return "" 677} 678 679func (x *Event) GetUserAgent() string { 680 if x != nil { 681 return x.UserAgent 682 } 683 return "" 684} 685 686func (x *Event) GetUserIpAddress() string { 687 if x != nil { 688 return x.UserIpAddress 689 } 690 return "" 691} 692 693func (x *Event) GetExpectedAction() string { 694 if x != nil { 695 return x.ExpectedAction 696 } 697 return "" 698} 699 700type TokenProperties struct { 701 state protoimpl.MessageState 702 sizeCache protoimpl.SizeCache 703 unknownFields protoimpl.UnknownFields 704 705 // Whether the provided user response token is valid. 706 Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` 707 // Reason associated with the response when valid = false. 708 InvalidReason TokenProperties_InvalidReason `protobuf:"varint,2,opt,name=invalid_reason,json=invalidReason,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason" json:"invalid_reason,omitempty"` 709 // The timestamp corresponding to the generation of the token. 710 CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 711 // The hostname of the page on which the token was generated. 712 Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` 713 // Action name provided at token generation. 714 Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"` 715} 716 717func (x *TokenProperties) Reset() { 718 *x = TokenProperties{} 719 if protoimpl.UnsafeEnabled { 720 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[5] 721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 722 ms.StoreMessageInfo(mi) 723 } 724} 725 726func (x *TokenProperties) String() string { 727 return protoimpl.X.MessageStringOf(x) 728} 729 730func (*TokenProperties) ProtoMessage() {} 731 732func (x *TokenProperties) ProtoReflect() protoreflect.Message { 733 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[5] 734 if protoimpl.UnsafeEnabled && x != nil { 735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 736 if ms.LoadMessageInfo() == nil { 737 ms.StoreMessageInfo(mi) 738 } 739 return ms 740 } 741 return mi.MessageOf(x) 742} 743 744// Deprecated: Use TokenProperties.ProtoReflect.Descriptor instead. 745func (*TokenProperties) Descriptor() ([]byte, []int) { 746 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{5} 747} 748 749func (x *TokenProperties) GetValid() bool { 750 if x != nil { 751 return x.Valid 752 } 753 return false 754} 755 756func (x *TokenProperties) GetInvalidReason() TokenProperties_InvalidReason { 757 if x != nil { 758 return x.InvalidReason 759 } 760 return TokenProperties_INVALID_REASON_UNSPECIFIED 761} 762 763func (x *TokenProperties) GetCreateTime() *timestamp.Timestamp { 764 if x != nil { 765 return x.CreateTime 766 } 767 return nil 768} 769 770func (x *TokenProperties) GetHostname() string { 771 if x != nil { 772 return x.Hostname 773 } 774 return "" 775} 776 777func (x *TokenProperties) GetAction() string { 778 if x != nil { 779 return x.Action 780 } 781 return "" 782} 783 784// The create key request message. 785type CreateKeyRequest struct { 786 state protoimpl.MessageState 787 sizeCache protoimpl.SizeCache 788 unknownFields protoimpl.UnknownFields 789 790 // Required. The name of the project in which the key will be created, in the 791 // format "projects/{project_number}". 792 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 793 // Required. Information to create a reCAPTCHA Enterprise key. 794 Key *Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` 795} 796 797func (x *CreateKeyRequest) Reset() { 798 *x = CreateKeyRequest{} 799 if protoimpl.UnsafeEnabled { 800 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[6] 801 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 802 ms.StoreMessageInfo(mi) 803 } 804} 805 806func (x *CreateKeyRequest) String() string { 807 return protoimpl.X.MessageStringOf(x) 808} 809 810func (*CreateKeyRequest) ProtoMessage() {} 811 812func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { 813 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[6] 814 if protoimpl.UnsafeEnabled && x != nil { 815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 816 if ms.LoadMessageInfo() == nil { 817 ms.StoreMessageInfo(mi) 818 } 819 return ms 820 } 821 return mi.MessageOf(x) 822} 823 824// Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead. 825func (*CreateKeyRequest) Descriptor() ([]byte, []int) { 826 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{6} 827} 828 829func (x *CreateKeyRequest) GetParent() string { 830 if x != nil { 831 return x.Parent 832 } 833 return "" 834} 835 836func (x *CreateKeyRequest) GetKey() *Key { 837 if x != nil { 838 return x.Key 839 } 840 return nil 841} 842 843// The list keys request message. 844type ListKeysRequest struct { 845 state protoimpl.MessageState 846 sizeCache protoimpl.SizeCache 847 unknownFields protoimpl.UnknownFields 848 849 // Required. The name of the project that contains the keys that will be 850 // listed, in the format "projects/{project_number}". 851 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 852 // Optional. The maximum number of keys to return. Default is 10. Max limit is 853 // 1000. 854 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 855 // Optional. The next_page_token value returned from a previous. 856 // ListKeysRequest, if any. 857 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 858} 859 860func (x *ListKeysRequest) Reset() { 861 *x = ListKeysRequest{} 862 if protoimpl.UnsafeEnabled { 863 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[7] 864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 865 ms.StoreMessageInfo(mi) 866 } 867} 868 869func (x *ListKeysRequest) String() string { 870 return protoimpl.X.MessageStringOf(x) 871} 872 873func (*ListKeysRequest) ProtoMessage() {} 874 875func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { 876 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[7] 877 if protoimpl.UnsafeEnabled && x != nil { 878 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 879 if ms.LoadMessageInfo() == nil { 880 ms.StoreMessageInfo(mi) 881 } 882 return ms 883 } 884 return mi.MessageOf(x) 885} 886 887// Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead. 888func (*ListKeysRequest) Descriptor() ([]byte, []int) { 889 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{7} 890} 891 892func (x *ListKeysRequest) GetParent() string { 893 if x != nil { 894 return x.Parent 895 } 896 return "" 897} 898 899func (x *ListKeysRequest) GetPageSize() int32 { 900 if x != nil { 901 return x.PageSize 902 } 903 return 0 904} 905 906func (x *ListKeysRequest) GetPageToken() string { 907 if x != nil { 908 return x.PageToken 909 } 910 return "" 911} 912 913// Response to request to list keys in a project. 914type ListKeysResponse struct { 915 state protoimpl.MessageState 916 sizeCache protoimpl.SizeCache 917 unknownFields protoimpl.UnknownFields 918 919 // Key details. 920 Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` 921 // Token to retrieve the next page of results. It is set to empty if no keys 922 // remain in results. 923 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 924} 925 926func (x *ListKeysResponse) Reset() { 927 *x = ListKeysResponse{} 928 if protoimpl.UnsafeEnabled { 929 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[8] 930 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 931 ms.StoreMessageInfo(mi) 932 } 933} 934 935func (x *ListKeysResponse) String() string { 936 return protoimpl.X.MessageStringOf(x) 937} 938 939func (*ListKeysResponse) ProtoMessage() {} 940 941func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { 942 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[8] 943 if protoimpl.UnsafeEnabled && x != nil { 944 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 945 if ms.LoadMessageInfo() == nil { 946 ms.StoreMessageInfo(mi) 947 } 948 return ms 949 } 950 return mi.MessageOf(x) 951} 952 953// Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead. 954func (*ListKeysResponse) Descriptor() ([]byte, []int) { 955 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{8} 956} 957 958func (x *ListKeysResponse) GetKeys() []*Key { 959 if x != nil { 960 return x.Keys 961 } 962 return nil 963} 964 965func (x *ListKeysResponse) GetNextPageToken() string { 966 if x != nil { 967 return x.NextPageToken 968 } 969 return "" 970} 971 972// The get key request message. 973type GetKeyRequest struct { 974 state protoimpl.MessageState 975 sizeCache protoimpl.SizeCache 976 unknownFields protoimpl.UnknownFields 977 978 // Required. The name of the requested key, in the format 979 // "projects/{project_number}/keys/{key_id}". 980 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 981} 982 983func (x *GetKeyRequest) Reset() { 984 *x = GetKeyRequest{} 985 if protoimpl.UnsafeEnabled { 986 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[9] 987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 988 ms.StoreMessageInfo(mi) 989 } 990} 991 992func (x *GetKeyRequest) String() string { 993 return protoimpl.X.MessageStringOf(x) 994} 995 996func (*GetKeyRequest) ProtoMessage() {} 997 998func (x *GetKeyRequest) ProtoReflect() protoreflect.Message { 999 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[9] 1000 if protoimpl.UnsafeEnabled && x != nil { 1001 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1002 if ms.LoadMessageInfo() == nil { 1003 ms.StoreMessageInfo(mi) 1004 } 1005 return ms 1006 } 1007 return mi.MessageOf(x) 1008} 1009 1010// Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead. 1011func (*GetKeyRequest) Descriptor() ([]byte, []int) { 1012 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{9} 1013} 1014 1015func (x *GetKeyRequest) GetName() string { 1016 if x != nil { 1017 return x.Name 1018 } 1019 return "" 1020} 1021 1022// The update key request message. 1023type UpdateKeyRequest struct { 1024 state protoimpl.MessageState 1025 sizeCache protoimpl.SizeCache 1026 unknownFields protoimpl.UnknownFields 1027 1028 // Required. The key to update. 1029 Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 1030 // Optional. The mask to control which field of the key get updated. If the mask is not 1031 // present, all fields will be updated. 1032 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1033} 1034 1035func (x *UpdateKeyRequest) Reset() { 1036 *x = UpdateKeyRequest{} 1037 if protoimpl.UnsafeEnabled { 1038 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[10] 1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1040 ms.StoreMessageInfo(mi) 1041 } 1042} 1043 1044func (x *UpdateKeyRequest) String() string { 1045 return protoimpl.X.MessageStringOf(x) 1046} 1047 1048func (*UpdateKeyRequest) ProtoMessage() {} 1049 1050func (x *UpdateKeyRequest) ProtoReflect() protoreflect.Message { 1051 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[10] 1052 if protoimpl.UnsafeEnabled && x != nil { 1053 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1054 if ms.LoadMessageInfo() == nil { 1055 ms.StoreMessageInfo(mi) 1056 } 1057 return ms 1058 } 1059 return mi.MessageOf(x) 1060} 1061 1062// Deprecated: Use UpdateKeyRequest.ProtoReflect.Descriptor instead. 1063func (*UpdateKeyRequest) Descriptor() ([]byte, []int) { 1064 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{10} 1065} 1066 1067func (x *UpdateKeyRequest) GetKey() *Key { 1068 if x != nil { 1069 return x.Key 1070 } 1071 return nil 1072} 1073 1074func (x *UpdateKeyRequest) GetUpdateMask() *field_mask.FieldMask { 1075 if x != nil { 1076 return x.UpdateMask 1077 } 1078 return nil 1079} 1080 1081// The delete key request message. 1082type DeleteKeyRequest struct { 1083 state protoimpl.MessageState 1084 sizeCache protoimpl.SizeCache 1085 unknownFields protoimpl.UnknownFields 1086 1087 // Required. The name of the key to be deleted, in the format 1088 // "projects/{project_number}/keys/{key_id}". 1089 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1090} 1091 1092func (x *DeleteKeyRequest) Reset() { 1093 *x = DeleteKeyRequest{} 1094 if protoimpl.UnsafeEnabled { 1095 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[11] 1096 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1097 ms.StoreMessageInfo(mi) 1098 } 1099} 1100 1101func (x *DeleteKeyRequest) String() string { 1102 return protoimpl.X.MessageStringOf(x) 1103} 1104 1105func (*DeleteKeyRequest) ProtoMessage() {} 1106 1107func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { 1108 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[11] 1109 if protoimpl.UnsafeEnabled && x != nil { 1110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1111 if ms.LoadMessageInfo() == nil { 1112 ms.StoreMessageInfo(mi) 1113 } 1114 return ms 1115 } 1116 return mi.MessageOf(x) 1117} 1118 1119// Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead. 1120func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { 1121 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{11} 1122} 1123 1124func (x *DeleteKeyRequest) GetName() string { 1125 if x != nil { 1126 return x.Name 1127 } 1128 return "" 1129} 1130 1131// A key used to identify and configure applications (web and/or mobile) that 1132// use reCAPTCHA Enterprise. 1133type Key struct { 1134 state protoimpl.MessageState 1135 sizeCache protoimpl.SizeCache 1136 unknownFields protoimpl.UnknownFields 1137 1138 // The resource name for the Key in the format 1139 // "projects/{project_number}/keys/{key_id}". 1140 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1141 // Human-readable display name of this key. Modifiable by user. 1142 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 1143 // Platform specific settings for this key. The key can only be used on one 1144 // platform, the one it has settings for. 1145 // 1146 // Types that are assignable to PlatformSettings: 1147 // *Key_WebSettings 1148 // *Key_AndroidSettings 1149 // *Key_IosSettings 1150 PlatformSettings isKey_PlatformSettings `protobuf_oneof:"platform_settings"` 1151} 1152 1153func (x *Key) Reset() { 1154 *x = Key{} 1155 if protoimpl.UnsafeEnabled { 1156 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[12] 1157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1158 ms.StoreMessageInfo(mi) 1159 } 1160} 1161 1162func (x *Key) String() string { 1163 return protoimpl.X.MessageStringOf(x) 1164} 1165 1166func (*Key) ProtoMessage() {} 1167 1168func (x *Key) ProtoReflect() protoreflect.Message { 1169 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[12] 1170 if protoimpl.UnsafeEnabled && x != nil { 1171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1172 if ms.LoadMessageInfo() == nil { 1173 ms.StoreMessageInfo(mi) 1174 } 1175 return ms 1176 } 1177 return mi.MessageOf(x) 1178} 1179 1180// Deprecated: Use Key.ProtoReflect.Descriptor instead. 1181func (*Key) Descriptor() ([]byte, []int) { 1182 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{12} 1183} 1184 1185func (x *Key) GetName() string { 1186 if x != nil { 1187 return x.Name 1188 } 1189 return "" 1190} 1191 1192func (x *Key) GetDisplayName() string { 1193 if x != nil { 1194 return x.DisplayName 1195 } 1196 return "" 1197} 1198 1199func (m *Key) GetPlatformSettings() isKey_PlatformSettings { 1200 if m != nil { 1201 return m.PlatformSettings 1202 } 1203 return nil 1204} 1205 1206func (x *Key) GetWebSettings() *WebKeySettings { 1207 if x, ok := x.GetPlatformSettings().(*Key_WebSettings); ok { 1208 return x.WebSettings 1209 } 1210 return nil 1211} 1212 1213func (x *Key) GetAndroidSettings() *AndroidKeySettings { 1214 if x, ok := x.GetPlatformSettings().(*Key_AndroidSettings); ok { 1215 return x.AndroidSettings 1216 } 1217 return nil 1218} 1219 1220func (x *Key) GetIosSettings() *IOSKeySettings { 1221 if x, ok := x.GetPlatformSettings().(*Key_IosSettings); ok { 1222 return x.IosSettings 1223 } 1224 return nil 1225} 1226 1227type isKey_PlatformSettings interface { 1228 isKey_PlatformSettings() 1229} 1230 1231type Key_WebSettings struct { 1232 // Settings for keys that can be used by websites. 1233 WebSettings *WebKeySettings `protobuf:"bytes,3,opt,name=web_settings,json=webSettings,proto3,oneof"` 1234} 1235 1236type Key_AndroidSettings struct { 1237 // Settings for keys that can be used by Android apps. 1238 AndroidSettings *AndroidKeySettings `protobuf:"bytes,4,opt,name=android_settings,json=androidSettings,proto3,oneof"` 1239} 1240 1241type Key_IosSettings struct { 1242 // Settings for keys that can be used by iOS apps. 1243 IosSettings *IOSKeySettings `protobuf:"bytes,5,opt,name=ios_settings,json=iosSettings,proto3,oneof"` 1244} 1245 1246func (*Key_WebSettings) isKey_PlatformSettings() {} 1247 1248func (*Key_AndroidSettings) isKey_PlatformSettings() {} 1249 1250func (*Key_IosSettings) isKey_PlatformSettings() {} 1251 1252// Settings specific to keys that can be used by websites. 1253type WebKeySettings struct { 1254 state protoimpl.MessageState 1255 sizeCache protoimpl.SizeCache 1256 unknownFields protoimpl.UnknownFields 1257 1258 // Whether allowed_domains is enforced or not. 1259 EnforceAllowedDomains bool `protobuf:"varint,3,opt,name=enforce_allowed_domains,json=enforceAllowedDomains,proto3" json:"enforce_allowed_domains,omitempty"` 1260 // Domains or subdomains of websites allowed to use the key. All subdomains 1261 // of an allowed domain are automatically allowed. A valid domain requires a 1262 // host and must not include any path, port, query or fragment. 1263 // Examples: 'example.com' or 'subdomain.example.com' 1264 AllowedDomains []string `protobuf:"bytes,1,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"` 1265 // Whether this key can be used on AMP (Accelerated Mobile Pages) websites. 1266 AllowAmpTraffic bool `protobuf:"varint,2,opt,name=allow_amp_traffic,json=allowAmpTraffic,proto3" json:"allow_amp_traffic,omitempty"` 1267 // Required. Describes how this key is integrated with the website. 1268 IntegrationType WebKeySettings_IntegrationType `protobuf:"varint,4,opt,name=integration_type,json=integrationType,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_IntegrationType" json:"integration_type,omitempty"` 1269 // Settings for the frequency and difficulty at which this key triggers 1270 // captcha challenges. This should only be specified for IntegrationTypes 1271 // CHECKBOX_CHALLENGE and INVISIBLE_CHALLENGE. 1272 ChallengeSecurityPreference WebKeySettings_ChallengeSecurityPreference `protobuf:"varint,5,opt,name=challenge_security_preference,json=challengeSecurityPreference,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_ChallengeSecurityPreference" json:"challenge_security_preference,omitempty"` 1273} 1274 1275func (x *WebKeySettings) Reset() { 1276 *x = WebKeySettings{} 1277 if protoimpl.UnsafeEnabled { 1278 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[13] 1279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1280 ms.StoreMessageInfo(mi) 1281 } 1282} 1283 1284func (x *WebKeySettings) String() string { 1285 return protoimpl.X.MessageStringOf(x) 1286} 1287 1288func (*WebKeySettings) ProtoMessage() {} 1289 1290func (x *WebKeySettings) ProtoReflect() protoreflect.Message { 1291 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[13] 1292 if protoimpl.UnsafeEnabled && x != nil { 1293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1294 if ms.LoadMessageInfo() == nil { 1295 ms.StoreMessageInfo(mi) 1296 } 1297 return ms 1298 } 1299 return mi.MessageOf(x) 1300} 1301 1302// Deprecated: Use WebKeySettings.ProtoReflect.Descriptor instead. 1303func (*WebKeySettings) Descriptor() ([]byte, []int) { 1304 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{13} 1305} 1306 1307func (x *WebKeySettings) GetEnforceAllowedDomains() bool { 1308 if x != nil { 1309 return x.EnforceAllowedDomains 1310 } 1311 return false 1312} 1313 1314func (x *WebKeySettings) GetAllowedDomains() []string { 1315 if x != nil { 1316 return x.AllowedDomains 1317 } 1318 return nil 1319} 1320 1321func (x *WebKeySettings) GetAllowAmpTraffic() bool { 1322 if x != nil { 1323 return x.AllowAmpTraffic 1324 } 1325 return false 1326} 1327 1328func (x *WebKeySettings) GetIntegrationType() WebKeySettings_IntegrationType { 1329 if x != nil { 1330 return x.IntegrationType 1331 } 1332 return WebKeySettings_INTEGRATION_TYPE_UNSPECIFIED 1333} 1334 1335func (x *WebKeySettings) GetChallengeSecurityPreference() WebKeySettings_ChallengeSecurityPreference { 1336 if x != nil { 1337 return x.ChallengeSecurityPreference 1338 } 1339 return WebKeySettings_CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED 1340} 1341 1342// Settings specific to keys that can be used by Android apps. 1343type AndroidKeySettings struct { 1344 state protoimpl.MessageState 1345 sizeCache protoimpl.SizeCache 1346 unknownFields protoimpl.UnknownFields 1347 1348 // Android package names of apps allowed to use the key. 1349 // Example: 'com.companyname.appname' 1350 AllowedPackageNames []string `protobuf:"bytes,1,rep,name=allowed_package_names,json=allowedPackageNames,proto3" json:"allowed_package_names,omitempty"` 1351} 1352 1353func (x *AndroidKeySettings) Reset() { 1354 *x = AndroidKeySettings{} 1355 if protoimpl.UnsafeEnabled { 1356 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[14] 1357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1358 ms.StoreMessageInfo(mi) 1359 } 1360} 1361 1362func (x *AndroidKeySettings) String() string { 1363 return protoimpl.X.MessageStringOf(x) 1364} 1365 1366func (*AndroidKeySettings) ProtoMessage() {} 1367 1368func (x *AndroidKeySettings) ProtoReflect() protoreflect.Message { 1369 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[14] 1370 if protoimpl.UnsafeEnabled && x != nil { 1371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1372 if ms.LoadMessageInfo() == nil { 1373 ms.StoreMessageInfo(mi) 1374 } 1375 return ms 1376 } 1377 return mi.MessageOf(x) 1378} 1379 1380// Deprecated: Use AndroidKeySettings.ProtoReflect.Descriptor instead. 1381func (*AndroidKeySettings) Descriptor() ([]byte, []int) { 1382 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{14} 1383} 1384 1385func (x *AndroidKeySettings) GetAllowedPackageNames() []string { 1386 if x != nil { 1387 return x.AllowedPackageNames 1388 } 1389 return nil 1390} 1391 1392// Settings specific to keys that can be used by iOS apps. 1393type IOSKeySettings struct { 1394 state protoimpl.MessageState 1395 sizeCache protoimpl.SizeCache 1396 unknownFields protoimpl.UnknownFields 1397 1398 // iOS bundle ids of apps allowed to use the key. 1399 // Example: 'com.companyname.productname.appname' 1400 AllowedBundleIds []string `protobuf:"bytes,1,rep,name=allowed_bundle_ids,json=allowedBundleIds,proto3" json:"allowed_bundle_ids,omitempty"` 1401} 1402 1403func (x *IOSKeySettings) Reset() { 1404 *x = IOSKeySettings{} 1405 if protoimpl.UnsafeEnabled { 1406 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[15] 1407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1408 ms.StoreMessageInfo(mi) 1409 } 1410} 1411 1412func (x *IOSKeySettings) String() string { 1413 return protoimpl.X.MessageStringOf(x) 1414} 1415 1416func (*IOSKeySettings) ProtoMessage() {} 1417 1418func (x *IOSKeySettings) ProtoReflect() protoreflect.Message { 1419 mi := &file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[15] 1420 if protoimpl.UnsafeEnabled && x != nil { 1421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1422 if ms.LoadMessageInfo() == nil { 1423 ms.StoreMessageInfo(mi) 1424 } 1425 return ms 1426 } 1427 return mi.MessageOf(x) 1428} 1429 1430// Deprecated: Use IOSKeySettings.ProtoReflect.Descriptor instead. 1431func (*IOSKeySettings) Descriptor() ([]byte, []int) { 1432 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP(), []int{15} 1433} 1434 1435func (x *IOSKeySettings) GetAllowedBundleIds() []string { 1436 if x != nil { 1437 return x.AllowedBundleIds 1438 } 1439 return nil 1440} 1441 1442var File_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto protoreflect.FileDescriptor 1443 1444var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDesc = []byte{ 1445 0x0a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 1446 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 1447 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x63, 0x61, 0x70, 1448 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x70, 1449 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1450 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 1451 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 1452 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 1453 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 1454 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 1455 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 1456 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 1457 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 1458 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1459 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1460 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 1461 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 1462 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1463 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1464 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1465 0x6f, 0x22, 0xc1, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 1466 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 1467 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 1468 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 1469 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1470 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 1471 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0a, 0x61, 0x73, 1472 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 1473 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1474 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 1475 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 1476 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x73, 1477 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xa5, 0x02, 0x0a, 0x19, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 1478 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 1479 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1480 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x72, 0x65, 0x63, 0x61, 0x70, 1481 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x67, 1482 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 1483 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x73, 1484 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 1485 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1486 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 1487 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 1488 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 1489 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 1490 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 1491 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 1492 0x6e, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 1493 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 1494 0x0a, 0x4c, 0x45, 0x47, 0x49, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 1495 0x0a, 0x46, 0x52, 0x41, 0x55, 0x44, 0x55, 0x4c, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x22, 0x1c, 0x0a, 1496 0x1a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 1497 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf8, 0x04, 0x0a, 0x0a, 1498 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 1499 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 1500 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 1501 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1502 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 1503 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x76, 1504 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x63, 1505 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 1506 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x69, 0x0a, 0x10, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 1507 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 1508 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 1509 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 1510 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1511 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 1512 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 1513 0x12, 0x68, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 1514 0x0e, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1515 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 1516 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x73, 0x73, 1517 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 1518 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 1519 0x03, 0x52, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x14, 0x43, 1520 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 1521 0x73, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 1522 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 1523 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 1524 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x4e, 1525 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 1526 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x55, 1527 0x43, 0x48, 0x5f, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 1528 0x55, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x55, 0x53, 0x41, 0x47, 0x45, 1529 0x5f, 0x50, 0x41, 0x54, 0x54, 0x45, 0x52, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4c, 1530 0x4f, 0x57, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x44, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x53, 0x43, 1531 0x4f, 0x52, 0x45, 0x10, 0x05, 0x3a, 0x5f, 0xea, 0x41, 0x5c, 0x0a, 0x2d, 0x72, 0x65, 0x63, 0x61, 1532 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 1533 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 1534 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1535 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x73, 1536 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73, 0x65, 0x73, 1537 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x22, 0xc1, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 1538 0x12, 0x19, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1539 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x73, 1540 0x69, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 1541 0x41, 0x01, 0x52, 0x07, 0x73, 0x69, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0a, 0x75, 1542 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 1543 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 1544 0x2b, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 1545 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x75, 1546 0x73, 0x65, 0x72, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 1547 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 1548 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x65, 1549 0x63, 0x74, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9c, 0x03, 0x0a, 0x0f, 0x54, 1550 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x14, 1551 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 1552 0x61, 0x6c, 0x69, 0x64, 0x12, 0x6e, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 1553 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x47, 0x2e, 0x67, 1554 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 1555 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 1556 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 1557 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 1558 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0d, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 1559 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 1560 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1561 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1562 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 1563 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 1564 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 1565 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 1566 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 1567 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x4e, 0x56, 0x41, 0x4c, 1568 0x49, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 1569 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 1570 0x57, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 1571 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x4c, 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 1572 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x12, 1573 0x08, 0x0a, 0x04, 0x44, 0x55, 0x50, 0x45, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x49, 0x54, 1574 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 1575 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x22, 0xa5, 0x01, 0x0a, 0x10, 0x43, 0x72, 1576 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 1577 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 1578 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 1579 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 1580 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 1581 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x03, 0x6b, 1582 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1583 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 1584 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 1585 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x6b, 0x65, 1586 0x79, 0x22, 0xa4, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 1587 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 1588 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 1589 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 1590 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1591 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 1592 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 1593 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 1594 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 1595 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 1596 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7d, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 1597 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x04, 1598 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 1599 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 1600 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 1601 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 1602 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 1603 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 1604 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x53, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4b, 0x65, 1605 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1606 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 1607 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 1608 0x69, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1609 0x6f, 0x6d, 0x2f, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9a, 0x01, 0x0a, 1610 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1611 0x74, 0x12, 0x44, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 1612 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1613 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 1614 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 1615 0x41, 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 1616 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 1617 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 1618 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 1619 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x56, 0x0a, 0x10, 0x44, 0x65, 0x6c, 1620 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 1621 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 1622 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 1623 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1624 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1625 0x65, 0x22, 0xc6, 0x03, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1626 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 1627 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 1628 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 1629 0x12, 0x5d, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 1630 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1631 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 1632 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1633 0x31, 0x2e, 0x57, 0x65, 0x62, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 1634 0x48, 0x00, 0x52, 0x0b, 0x77, 0x65, 0x62, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 1635 0x69, 0x0a, 0x10, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 1636 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1637 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 1638 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 1639 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x4b, 0x65, 0x79, 0x53, 1640 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6e, 0x64, 0x72, 0x6f, 1641 0x69, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5d, 0x0a, 0x0c, 0x69, 0x6f, 1642 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 1643 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1644 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 1645 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x4f, 0x53, 0x4b, 1646 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x6f, 1647 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x4a, 0xea, 0x41, 0x47, 0x0a, 0x26, 1648 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 1649 0x69, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1650 0x6f, 0x6d, 0x2f, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1651 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2f, 1652 0x7b, 0x6b, 0x65, 0x79, 0x7d, 0x42, 0x13, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 1653 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xa1, 0x05, 0x0a, 0x0e, 0x57, 1654 0x65, 0x62, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x36, 0x0a, 1655 0x17, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 1656 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 1657 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x6f, 1658 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 1659 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 1660 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x2a, 1661 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6d, 0x70, 0x5f, 0x74, 0x72, 0x61, 0x66, 1662 0x66, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 1663 0x41, 0x6d, 0x70, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x78, 0x0a, 0x10, 0x69, 0x6e, 1664 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 1665 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1666 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 1667 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1668 0x57, 0x65, 0x62, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49, 1669 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 1670 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1671 0x54, 0x79, 0x70, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x1d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 1672 0x67, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x65, 0x66, 1673 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x54, 0x2e, 0x67, 1674 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 1675 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 1676 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x4b, 0x65, 0x79, 0x53, 0x65, 1677 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 1678 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 1679 0x63, 0x65, 0x52, 0x1b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x63, 1680 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 1681 0x74, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 1682 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 1683 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 1684 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x43, 0x4f, 0x52, 0x45, 0x5f, 0x4f, 0x4e, 1685 0x4c, 0x59, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x42, 0x4f, 0x58, 1686 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 1687 0x49, 0x4e, 0x56, 0x49, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 1688 0x4e, 0x47, 0x45, 0x10, 0x03, 0x22, 0x77, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 1689 0x67, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 1690 0x65, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x29, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 1691 0x45, 0x5f, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 1692 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1693 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 1694 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x02, 1695 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x10, 0x03, 0x22, 0x48, 1696 0x0a, 0x12, 0x41, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 1697 0x69, 0x6e, 0x67, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 1698 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 1699 0x03, 0x28, 0x09, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 1700 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x0e, 0x49, 0x4f, 0x53, 0x4b, 1701 0x65, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6c, 1702 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 1703 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x42, 1704 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x32, 0xfd, 0x0a, 0x0a, 0x21, 0x52, 0x65, 0x63, 1705 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 1706 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0xdd, 1707 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 1708 0x65, 0x6e, 0x74, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1709 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 1710 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 1711 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1712 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1713 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 1714 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1715 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x50, 0x82, 0xd3, 1716 0xe4, 0x93, 0x02, 0x36, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 1717 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 1718 0x2a, 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x0a, 1719 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x11, 0x70, 0x61, 0x72, 1720 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xef, 1721 0x01, 0x0a, 0x12, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 1722 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1723 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 1724 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1725 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 1726 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 1727 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 1728 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 1729 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x73, 1730 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1731 0x22, 0x4e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 1732 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1733 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 1734 0x2a, 0x7d, 0x3a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 1735 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1736 0x12, 0xa6, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x3a, 1737 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1738 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 1739 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 1740 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 1741 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 1742 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 1743 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1744 0x28, 0x22, 0x21, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 1745 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 1746 0x6b, 0x65, 0x79, 0x73, 0x3a, 0x03, 0x6b, 0x65, 0x79, 0x12, 0xac, 0x01, 0x0a, 0x08, 0x4c, 0x69, 1747 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1748 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 1749 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1750 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1751 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1752 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 1753 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 1754 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 1755 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1756 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1757 0x2f, 0x2a, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x9b, 0x01, 0x0a, 0x06, 0x47, 0x65, 0x74, 1758 0x4b, 0x65, 0x79, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1759 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 1760 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 1761 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 1762 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 1763 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 1764 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 1765 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 1766 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6b, 1767 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaa, 0x01, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 1768 0x65, 0x4b, 0x65, 0x79, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1769 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 1770 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1771 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1772 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1773 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 1774 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x22, 1775 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1776 0x31, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1777 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x03, 1778 0x6b, 0x65, 0x79, 0x12, 0x8a, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 1779 0x79, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1780 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 1781 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 1782 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 1783 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1784 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 1785 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1786 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 1787 0x1a, 0x56, 0xca, 0x41, 0x22, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 1788 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1789 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 1790 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1791 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 1792 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xac, 0x02, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 1793 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 1794 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 1795 0x74, 0x61, 0x31, 0x42, 0x18, 0x52, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x45, 0x6e, 1796 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 1797 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 1798 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 1799 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x63, 1800 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 1801 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 1802 0x68, 0x61, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0xa2, 0x02, 0x04, 0x47, 1803 0x43, 0x52, 0x45, 0xaa, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 1804 0x75, 0x64, 0x2e, 0x52, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x45, 0x6e, 0x74, 0x65, 1805 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 1806 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 1807 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 1808 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 1809 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x63, 0x61, 0x70, 1810 0x74, 0x63, 0x68, 0x61, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x3a, 0x3a, 1811 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1812} 1813 1814var ( 1815 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescOnce sync.Once 1816 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescData = file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDesc 1817) 1818 1819func file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescGZIP() []byte { 1820 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescOnce.Do(func() { 1821 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescData) 1822 }) 1823 return file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDescData 1824} 1825 1826var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes = make([]protoimpl.EnumInfo, 5) 1827var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes = make([]protoimpl.MessageInfo, 16) 1828var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_goTypes = []interface{}{ 1829 (AnnotateAssessmentRequest_Annotation)(0), // 0: google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation 1830 (Assessment_ClassificationReason)(0), // 1: google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason 1831 (TokenProperties_InvalidReason)(0), // 2: google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason 1832 (WebKeySettings_IntegrationType)(0), // 3: google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType 1833 (WebKeySettings_ChallengeSecurityPreference)(0), // 4: google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference 1834 (*CreateAssessmentRequest)(nil), // 5: google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest 1835 (*AnnotateAssessmentRequest)(nil), // 6: google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest 1836 (*AnnotateAssessmentResponse)(nil), // 7: google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse 1837 (*Assessment)(nil), // 8: google.cloud.recaptchaenterprise.v1beta1.Assessment 1838 (*Event)(nil), // 9: google.cloud.recaptchaenterprise.v1beta1.Event 1839 (*TokenProperties)(nil), // 10: google.cloud.recaptchaenterprise.v1beta1.TokenProperties 1840 (*CreateKeyRequest)(nil), // 11: google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest 1841 (*ListKeysRequest)(nil), // 12: google.cloud.recaptchaenterprise.v1beta1.ListKeysRequest 1842 (*ListKeysResponse)(nil), // 13: google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse 1843 (*GetKeyRequest)(nil), // 14: google.cloud.recaptchaenterprise.v1beta1.GetKeyRequest 1844 (*UpdateKeyRequest)(nil), // 15: google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest 1845 (*DeleteKeyRequest)(nil), // 16: google.cloud.recaptchaenterprise.v1beta1.DeleteKeyRequest 1846 (*Key)(nil), // 17: google.cloud.recaptchaenterprise.v1beta1.Key 1847 (*WebKeySettings)(nil), // 18: google.cloud.recaptchaenterprise.v1beta1.WebKeySettings 1848 (*AndroidKeySettings)(nil), // 19: google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings 1849 (*IOSKeySettings)(nil), // 20: google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings 1850 (*timestamp.Timestamp)(nil), // 21: google.protobuf.Timestamp 1851 (*field_mask.FieldMask)(nil), // 22: google.protobuf.FieldMask 1852 (*empty.Empty)(nil), // 23: google.protobuf.Empty 1853} 1854var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_depIdxs = []int32{ 1855 8, // 0: google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest.assessment:type_name -> google.cloud.recaptchaenterprise.v1beta1.Assessment 1856 0, // 1: google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.annotation:type_name -> google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation 1857 9, // 2: google.cloud.recaptchaenterprise.v1beta1.Assessment.event:type_name -> google.cloud.recaptchaenterprise.v1beta1.Event 1858 10, // 3: google.cloud.recaptchaenterprise.v1beta1.Assessment.token_properties:type_name -> google.cloud.recaptchaenterprise.v1beta1.TokenProperties 1859 1, // 4: google.cloud.recaptchaenterprise.v1beta1.Assessment.reasons:type_name -> google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason 1860 2, // 5: google.cloud.recaptchaenterprise.v1beta1.TokenProperties.invalid_reason:type_name -> google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason 1861 21, // 6: google.cloud.recaptchaenterprise.v1beta1.TokenProperties.create_time:type_name -> google.protobuf.Timestamp 1862 17, // 7: google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest.key:type_name -> google.cloud.recaptchaenterprise.v1beta1.Key 1863 17, // 8: google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse.keys:type_name -> google.cloud.recaptchaenterprise.v1beta1.Key 1864 17, // 9: google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest.key:type_name -> google.cloud.recaptchaenterprise.v1beta1.Key 1865 22, // 10: google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest.update_mask:type_name -> google.protobuf.FieldMask 1866 18, // 11: google.cloud.recaptchaenterprise.v1beta1.Key.web_settings:type_name -> google.cloud.recaptchaenterprise.v1beta1.WebKeySettings 1867 19, // 12: google.cloud.recaptchaenterprise.v1beta1.Key.android_settings:type_name -> google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings 1868 20, // 13: google.cloud.recaptchaenterprise.v1beta1.Key.ios_settings:type_name -> google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings 1869 3, // 14: google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.integration_type:type_name -> google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType 1870 4, // 15: google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.challenge_security_preference:type_name -> google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference 1871 5, // 16: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment:input_type -> google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest 1872 6, // 17: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment:input_type -> google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest 1873 11, // 18: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateKey:input_type -> google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest 1874 12, // 19: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.ListKeys:input_type -> google.cloud.recaptchaenterprise.v1beta1.ListKeysRequest 1875 14, // 20: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.GetKey:input_type -> google.cloud.recaptchaenterprise.v1beta1.GetKeyRequest 1876 15, // 21: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.UpdateKey:input_type -> google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest 1877 16, // 22: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.DeleteKey:input_type -> google.cloud.recaptchaenterprise.v1beta1.DeleteKeyRequest 1878 8, // 23: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment:output_type -> google.cloud.recaptchaenterprise.v1beta1.Assessment 1879 7, // 24: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment:output_type -> google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse 1880 17, // 25: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateKey:output_type -> google.cloud.recaptchaenterprise.v1beta1.Key 1881 13, // 26: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.ListKeys:output_type -> google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse 1882 17, // 27: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.GetKey:output_type -> google.cloud.recaptchaenterprise.v1beta1.Key 1883 17, // 28: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.UpdateKey:output_type -> google.cloud.recaptchaenterprise.v1beta1.Key 1884 23, // 29: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.DeleteKey:output_type -> google.protobuf.Empty 1885 23, // [23:30] is the sub-list for method output_type 1886 16, // [16:23] is the sub-list for method input_type 1887 16, // [16:16] is the sub-list for extension type_name 1888 16, // [16:16] is the sub-list for extension extendee 1889 0, // [0:16] is the sub-list for field type_name 1890} 1891 1892func init() { file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_init() } 1893func file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_init() { 1894 if File_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto != nil { 1895 return 1896 } 1897 if !protoimpl.UnsafeEnabled { 1898 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1899 switch v := v.(*CreateAssessmentRequest); i { 1900 case 0: 1901 return &v.state 1902 case 1: 1903 return &v.sizeCache 1904 case 2: 1905 return &v.unknownFields 1906 default: 1907 return nil 1908 } 1909 } 1910 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1911 switch v := v.(*AnnotateAssessmentRequest); i { 1912 case 0: 1913 return &v.state 1914 case 1: 1915 return &v.sizeCache 1916 case 2: 1917 return &v.unknownFields 1918 default: 1919 return nil 1920 } 1921 } 1922 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1923 switch v := v.(*AnnotateAssessmentResponse); i { 1924 case 0: 1925 return &v.state 1926 case 1: 1927 return &v.sizeCache 1928 case 2: 1929 return &v.unknownFields 1930 default: 1931 return nil 1932 } 1933 } 1934 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1935 switch v := v.(*Assessment); i { 1936 case 0: 1937 return &v.state 1938 case 1: 1939 return &v.sizeCache 1940 case 2: 1941 return &v.unknownFields 1942 default: 1943 return nil 1944 } 1945 } 1946 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1947 switch v := v.(*Event); i { 1948 case 0: 1949 return &v.state 1950 case 1: 1951 return &v.sizeCache 1952 case 2: 1953 return &v.unknownFields 1954 default: 1955 return nil 1956 } 1957 } 1958 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1959 switch v := v.(*TokenProperties); i { 1960 case 0: 1961 return &v.state 1962 case 1: 1963 return &v.sizeCache 1964 case 2: 1965 return &v.unknownFields 1966 default: 1967 return nil 1968 } 1969 } 1970 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1971 switch v := v.(*CreateKeyRequest); i { 1972 case 0: 1973 return &v.state 1974 case 1: 1975 return &v.sizeCache 1976 case 2: 1977 return &v.unknownFields 1978 default: 1979 return nil 1980 } 1981 } 1982 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1983 switch v := v.(*ListKeysRequest); i { 1984 case 0: 1985 return &v.state 1986 case 1: 1987 return &v.sizeCache 1988 case 2: 1989 return &v.unknownFields 1990 default: 1991 return nil 1992 } 1993 } 1994 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1995 switch v := v.(*ListKeysResponse); i { 1996 case 0: 1997 return &v.state 1998 case 1: 1999 return &v.sizeCache 2000 case 2: 2001 return &v.unknownFields 2002 default: 2003 return nil 2004 } 2005 } 2006 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2007 switch v := v.(*GetKeyRequest); i { 2008 case 0: 2009 return &v.state 2010 case 1: 2011 return &v.sizeCache 2012 case 2: 2013 return &v.unknownFields 2014 default: 2015 return nil 2016 } 2017 } 2018 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2019 switch v := v.(*UpdateKeyRequest); i { 2020 case 0: 2021 return &v.state 2022 case 1: 2023 return &v.sizeCache 2024 case 2: 2025 return &v.unknownFields 2026 default: 2027 return nil 2028 } 2029 } 2030 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2031 switch v := v.(*DeleteKeyRequest); i { 2032 case 0: 2033 return &v.state 2034 case 1: 2035 return &v.sizeCache 2036 case 2: 2037 return &v.unknownFields 2038 default: 2039 return nil 2040 } 2041 } 2042 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2043 switch v := v.(*Key); i { 2044 case 0: 2045 return &v.state 2046 case 1: 2047 return &v.sizeCache 2048 case 2: 2049 return &v.unknownFields 2050 default: 2051 return nil 2052 } 2053 } 2054 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2055 switch v := v.(*WebKeySettings); i { 2056 case 0: 2057 return &v.state 2058 case 1: 2059 return &v.sizeCache 2060 case 2: 2061 return &v.unknownFields 2062 default: 2063 return nil 2064 } 2065 } 2066 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2067 switch v := v.(*AndroidKeySettings); i { 2068 case 0: 2069 return &v.state 2070 case 1: 2071 return &v.sizeCache 2072 case 2: 2073 return &v.unknownFields 2074 default: 2075 return nil 2076 } 2077 } 2078 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2079 switch v := v.(*IOSKeySettings); i { 2080 case 0: 2081 return &v.state 2082 case 1: 2083 return &v.sizeCache 2084 case 2: 2085 return &v.unknownFields 2086 default: 2087 return nil 2088 } 2089 } 2090 } 2091 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes[12].OneofWrappers = []interface{}{ 2092 (*Key_WebSettings)(nil), 2093 (*Key_AndroidSettings)(nil), 2094 (*Key_IosSettings)(nil), 2095 } 2096 type x struct{} 2097 out := protoimpl.TypeBuilder{ 2098 File: protoimpl.DescBuilder{ 2099 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2100 RawDescriptor: file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDesc, 2101 NumEnums: 5, 2102 NumMessages: 16, 2103 NumExtensions: 0, 2104 NumServices: 1, 2105 }, 2106 GoTypes: file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_goTypes, 2107 DependencyIndexes: file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_depIdxs, 2108 EnumInfos: file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_enumTypes, 2109 MessageInfos: file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_msgTypes, 2110 }.Build() 2111 File_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto = out.File 2112 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_rawDesc = nil 2113 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_goTypes = nil 2114 file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_depIdxs = nil 2115} 2116 2117// Reference imports to suppress errors if they are not otherwise used. 2118var _ context.Context 2119var _ grpc.ClientConnInterface 2120 2121// This is a compile-time assertion to ensure that this generated file 2122// is compatible with the grpc package it is being compiled against. 2123const _ = grpc.SupportPackageIsVersion6 2124 2125// RecaptchaEnterpriseServiceV1Beta1Client is the client API for RecaptchaEnterpriseServiceV1Beta1 service. 2126// 2127// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2128type RecaptchaEnterpriseServiceV1Beta1Client interface { 2129 // Creates an Assessment of the likelihood an event is legitimate. 2130 CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error) 2131 // Annotates a previously created Assessment to provide additional information 2132 // on whether the event turned out to be authentic or fradulent. 2133 AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error) 2134 // Creates a new reCAPTCHA Enterprise key. 2135 CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*Key, error) 2136 // Returns the list of all keys that belong to a project. 2137 ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) 2138 // Returns the specified key. 2139 GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error) 2140 // Updates the specified key. 2141 UpdateKey(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*Key, error) 2142 // Deletes the specified key. 2143 DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2144} 2145 2146type recaptchaEnterpriseServiceV1Beta1Client struct { 2147 cc grpc.ClientConnInterface 2148} 2149 2150func NewRecaptchaEnterpriseServiceV1Beta1Client(cc grpc.ClientConnInterface) RecaptchaEnterpriseServiceV1Beta1Client { 2151 return &recaptchaEnterpriseServiceV1Beta1Client{cc} 2152} 2153 2154func (c *recaptchaEnterpriseServiceV1Beta1Client) CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error) { 2155 out := new(Assessment) 2156 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment", in, out, opts...) 2157 if err != nil { 2158 return nil, err 2159 } 2160 return out, nil 2161} 2162 2163func (c *recaptchaEnterpriseServiceV1Beta1Client) AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error) { 2164 out := new(AnnotateAssessmentResponse) 2165 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment", in, out, opts...) 2166 if err != nil { 2167 return nil, err 2168 } 2169 return out, nil 2170} 2171 2172func (c *recaptchaEnterpriseServiceV1Beta1Client) CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*Key, error) { 2173 out := new(Key) 2174 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateKey", in, out, opts...) 2175 if err != nil { 2176 return nil, err 2177 } 2178 return out, nil 2179} 2180 2181func (c *recaptchaEnterpriseServiceV1Beta1Client) ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) { 2182 out := new(ListKeysResponse) 2183 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/ListKeys", in, out, opts...) 2184 if err != nil { 2185 return nil, err 2186 } 2187 return out, nil 2188} 2189 2190func (c *recaptchaEnterpriseServiceV1Beta1Client) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error) { 2191 out := new(Key) 2192 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/GetKey", in, out, opts...) 2193 if err != nil { 2194 return nil, err 2195 } 2196 return out, nil 2197} 2198 2199func (c *recaptchaEnterpriseServiceV1Beta1Client) UpdateKey(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*Key, error) { 2200 out := new(Key) 2201 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/UpdateKey", in, out, opts...) 2202 if err != nil { 2203 return nil, err 2204 } 2205 return out, nil 2206} 2207 2208func (c *recaptchaEnterpriseServiceV1Beta1Client) DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2209 out := new(empty.Empty) 2210 err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/DeleteKey", in, out, opts...) 2211 if err != nil { 2212 return nil, err 2213 } 2214 return out, nil 2215} 2216 2217// RecaptchaEnterpriseServiceV1Beta1Server is the server API for RecaptchaEnterpriseServiceV1Beta1 service. 2218type RecaptchaEnterpriseServiceV1Beta1Server interface { 2219 // Creates an Assessment of the likelihood an event is legitimate. 2220 CreateAssessment(context.Context, *CreateAssessmentRequest) (*Assessment, error) 2221 // Annotates a previously created Assessment to provide additional information 2222 // on whether the event turned out to be authentic or fradulent. 2223 AnnotateAssessment(context.Context, *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error) 2224 // Creates a new reCAPTCHA Enterprise key. 2225 CreateKey(context.Context, *CreateKeyRequest) (*Key, error) 2226 // Returns the list of all keys that belong to a project. 2227 ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) 2228 // Returns the specified key. 2229 GetKey(context.Context, *GetKeyRequest) (*Key, error) 2230 // Updates the specified key. 2231 UpdateKey(context.Context, *UpdateKeyRequest) (*Key, error) 2232 // Deletes the specified key. 2233 DeleteKey(context.Context, *DeleteKeyRequest) (*empty.Empty, error) 2234} 2235 2236// UnimplementedRecaptchaEnterpriseServiceV1Beta1Server can be embedded to have forward compatible implementations. 2237type UnimplementedRecaptchaEnterpriseServiceV1Beta1Server struct { 2238} 2239 2240func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) CreateAssessment(context.Context, *CreateAssessmentRequest) (*Assessment, error) { 2241 return nil, status.Errorf(codes.Unimplemented, "method CreateAssessment not implemented") 2242} 2243func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) AnnotateAssessment(context.Context, *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error) { 2244 return nil, status.Errorf(codes.Unimplemented, "method AnnotateAssessment not implemented") 2245} 2246func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) CreateKey(context.Context, *CreateKeyRequest) (*Key, error) { 2247 return nil, status.Errorf(codes.Unimplemented, "method CreateKey not implemented") 2248} 2249func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) { 2250 return nil, status.Errorf(codes.Unimplemented, "method ListKeys not implemented") 2251} 2252func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) GetKey(context.Context, *GetKeyRequest) (*Key, error) { 2253 return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented") 2254} 2255func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) UpdateKey(context.Context, *UpdateKeyRequest) (*Key, error) { 2256 return nil, status.Errorf(codes.Unimplemented, "method UpdateKey not implemented") 2257} 2258func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) DeleteKey(context.Context, *DeleteKeyRequest) (*empty.Empty, error) { 2259 return nil, status.Errorf(codes.Unimplemented, "method DeleteKey not implemented") 2260} 2261 2262func RegisterRecaptchaEnterpriseServiceV1Beta1Server(s *grpc.Server, srv RecaptchaEnterpriseServiceV1Beta1Server) { 2263 s.RegisterService(&_RecaptchaEnterpriseServiceV1Beta1_serviceDesc, srv) 2264} 2265 2266func _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2267 in := new(CreateAssessmentRequest) 2268 if err := dec(in); err != nil { 2269 return nil, err 2270 } 2271 if interceptor == nil { 2272 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, in) 2273 } 2274 info := &grpc.UnaryServerInfo{ 2275 Server: srv, 2276 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment", 2277 } 2278 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2279 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, req.(*CreateAssessmentRequest)) 2280 } 2281 return interceptor(ctx, in, info, handler) 2282} 2283 2284func _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2285 in := new(AnnotateAssessmentRequest) 2286 if err := dec(in); err != nil { 2287 return nil, err 2288 } 2289 if interceptor == nil { 2290 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, in) 2291 } 2292 info := &grpc.UnaryServerInfo{ 2293 Server: srv, 2294 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment", 2295 } 2296 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2297 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, req.(*AnnotateAssessmentRequest)) 2298 } 2299 return interceptor(ctx, in, info, handler) 2300} 2301 2302func _RecaptchaEnterpriseServiceV1Beta1_CreateKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2303 in := new(CreateKeyRequest) 2304 if err := dec(in); err != nil { 2305 return nil, err 2306 } 2307 if interceptor == nil { 2308 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateKey(ctx, in) 2309 } 2310 info := &grpc.UnaryServerInfo{ 2311 Server: srv, 2312 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateKey", 2313 } 2314 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2315 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateKey(ctx, req.(*CreateKeyRequest)) 2316 } 2317 return interceptor(ctx, in, info, handler) 2318} 2319 2320func _RecaptchaEnterpriseServiceV1Beta1_ListKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2321 in := new(ListKeysRequest) 2322 if err := dec(in); err != nil { 2323 return nil, err 2324 } 2325 if interceptor == nil { 2326 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).ListKeys(ctx, in) 2327 } 2328 info := &grpc.UnaryServerInfo{ 2329 Server: srv, 2330 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/ListKeys", 2331 } 2332 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2333 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).ListKeys(ctx, req.(*ListKeysRequest)) 2334 } 2335 return interceptor(ctx, in, info, handler) 2336} 2337 2338func _RecaptchaEnterpriseServiceV1Beta1_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2339 in := new(GetKeyRequest) 2340 if err := dec(in); err != nil { 2341 return nil, err 2342 } 2343 if interceptor == nil { 2344 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).GetKey(ctx, in) 2345 } 2346 info := &grpc.UnaryServerInfo{ 2347 Server: srv, 2348 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/GetKey", 2349 } 2350 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2351 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).GetKey(ctx, req.(*GetKeyRequest)) 2352 } 2353 return interceptor(ctx, in, info, handler) 2354} 2355 2356func _RecaptchaEnterpriseServiceV1Beta1_UpdateKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2357 in := new(UpdateKeyRequest) 2358 if err := dec(in); err != nil { 2359 return nil, err 2360 } 2361 if interceptor == nil { 2362 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).UpdateKey(ctx, in) 2363 } 2364 info := &grpc.UnaryServerInfo{ 2365 Server: srv, 2366 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/UpdateKey", 2367 } 2368 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2369 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).UpdateKey(ctx, req.(*UpdateKeyRequest)) 2370 } 2371 return interceptor(ctx, in, info, handler) 2372} 2373 2374func _RecaptchaEnterpriseServiceV1Beta1_DeleteKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2375 in := new(DeleteKeyRequest) 2376 if err := dec(in); err != nil { 2377 return nil, err 2378 } 2379 if interceptor == nil { 2380 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).DeleteKey(ctx, in) 2381 } 2382 info := &grpc.UnaryServerInfo{ 2383 Server: srv, 2384 FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/DeleteKey", 2385 } 2386 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2387 return srv.(RecaptchaEnterpriseServiceV1Beta1Server).DeleteKey(ctx, req.(*DeleteKeyRequest)) 2388 } 2389 return interceptor(ctx, in, info, handler) 2390} 2391 2392var _RecaptchaEnterpriseServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ 2393 ServiceName: "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", 2394 HandlerType: (*RecaptchaEnterpriseServiceV1Beta1Server)(nil), 2395 Methods: []grpc.MethodDesc{ 2396 { 2397 MethodName: "CreateAssessment", 2398 Handler: _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler, 2399 }, 2400 { 2401 MethodName: "AnnotateAssessment", 2402 Handler: _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler, 2403 }, 2404 { 2405 MethodName: "CreateKey", 2406 Handler: _RecaptchaEnterpriseServiceV1Beta1_CreateKey_Handler, 2407 }, 2408 { 2409 MethodName: "ListKeys", 2410 Handler: _RecaptchaEnterpriseServiceV1Beta1_ListKeys_Handler, 2411 }, 2412 { 2413 MethodName: "GetKey", 2414 Handler: _RecaptchaEnterpriseServiceV1Beta1_GetKey_Handler, 2415 }, 2416 { 2417 MethodName: "UpdateKey", 2418 Handler: _RecaptchaEnterpriseServiceV1Beta1_UpdateKey_Handler, 2419 }, 2420 { 2421 MethodName: "DeleteKey", 2422 Handler: _RecaptchaEnterpriseServiceV1Beta1_DeleteKey_Handler, 2423 }, 2424 }, 2425 Streams: []grpc.StreamDesc{}, 2426 Metadata: "google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto", 2427} 2428